/* ==========================================================================
   inetio — motion layer
   Original design untouched; this file only adds animation & polish.
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   Scroll progress bar
   -------------------------------------------------------------------------- */
.inx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #1863dc, #339fdc, #ffd9c2);
  z-index: 9999;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header: sticky, soft shadow once scrolled
   -------------------------------------------------------------------------- */
header.banner {
  transition:
    box-shadow 0.45s ease,
    background-color 0.45s ease;
}

header.banner.inx-scrolled {
  box-shadow: 0 6px 30px -12px rgba(31, 10, 80, 0.35);
}

/* --------------------------------------------------------------------------
   Hero headline line reveal (lines are wrapped by enhance.js)
   -------------------------------------------------------------------------- */
.inx-line {
  display: block;
  overflow: hidden;
  /* rezerva nahoře, ať maska neořezává českou diakritiku (Á, Í…) */
  padding-top: 0.14em;
  margin-top: -0.14em;
}

.inx-line > span {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.21, 0.47, 0.32, 0.98),
    opacity 0.7s ease;
}

.inx-hero-in .inx-line > span {
  transform: translateY(0);
  opacity: 1;
}

.inx-line:nth-child(2) > span { transition-delay: 0.12s; }
.inx-line:nth-child(3) > span { transition-delay: 0.24s; }

/* Hero perex + buttons fade in after the headline */
.inx-hero-late {
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 0.9s cubic-bezier(0.21, 0.47, 0.32, 0.98) 0.45s,
    opacity 0.9s ease 0.45s;
}

.inx-hero-in .inx-hero-late {
  opacity: 1;
  transform: translateY(0);
}

/* Hero image: clip-reveal + slow parallax driven by JS variable */
.hero__main-image {
  overflow: hidden;
}

.hero__main-image img {
  transform: translateY(calc(var(--inx-parallax, 0) * 1px)) scale(1.12);
  will-change: transform;
}

.inx-hero-img-reveal {
  clip-path: inset(8% 8% 8% 8% round 24px);
  opacity: 0;
  transition:
    clip-path 1.2s cubic-bezier(0.21, 0.47, 0.32, 0.98) 0.35s,
    opacity 0.9s ease 0.35s;
}

.inx-hero-in .inx-hero-img-reveal {
  clip-path: inset(0 0 0 0 round 0px);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Stickers: pop-in + perpetual gentle float
   -------------------------------------------------------------------------- */
.sticker {
  animation: inx-float 6.5s ease-in-out infinite;
}

.sticker:nth-of-type(odd) {
  animation-duration: 7.5s;
  animation-delay: -2.5s;
}

@keyframes inx-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -9px; rotate: -1.6deg; }
}

.sticker img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker:hover img {
  transform: scale(1.08) rotate(2deg);
}

/* --------------------------------------------------------------------------
   Buttons: lift, glow and arrow nudge
   -------------------------------------------------------------------------- */
.wp-block-button__link {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  will-change: transform;
}

.wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(88, 39, 213, 0.55);
}

/* shine sweep */
.wp-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.wp-block-button__link:hover::after {
  transform: translateX(110%);
}

/* --------------------------------------------------------------------------
   Cards & images: hover lift + zoom
   -------------------------------------------------------------------------- */
.case-studies-slide,
.team-slide {
  transition:
    transform 0.45s cubic-bezier(0.21, 0.47, 0.32, 0.98),
    box-shadow 0.45s ease;
}

.case-studies-slide:hover,
.team-slide:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px -24px rgba(31, 10, 80, 0.45);
}

.case-studies-slide figure,
.team-slide__image,
.wp-block-image.is-style-rounded-md,
.wp-block-post-featured-image {
  overflow: hidden;
}

.case-studies-slide img,
.team-slide__image img,
.wp-block-image.is-style-rounded-md img {
  transition: transform 0.7s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.case-studies-slide:hover img,
.team-slide:hover .team-slide__image img,
.wp-block-image.is-style-rounded-md:hover img {
  transform: scale(1.05);
}

/* Team social icons pop on hover */
.team-slide__socials a {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-slide__socials a:hover {
  transform: translateY(-4px) scale(1.12);
}

/* --------------------------------------------------------------------------
   Channel logos marquee (built by enhance.js from the original gallery)
   -------------------------------------------------------------------------- */
.inx-marquee {
  display: flex;
  overflow: hidden;
  position: relative;
}

/* jemne vyblednuti na krajich (gradientove prekryvy misto mask-image,
   ktera na iOS Safari zpusobovala blikani) */
.inx-marquee::before,
.inx-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.inx-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.inx-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.inx-marquee__track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  flex-shrink: 0;
  min-width: 100%;
  padding-right: 4.5rem;
  will-change: transform;
  backface-visibility: hidden;
}

.inx-marquee figure {
  margin: 0;
  flex-shrink: 0;
}

.inx-marquee img {
  max-height: 44px;
  width: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.inx-marquee img:hover {
  transform: scale(1.12);
}

/* --------------------------------------------------------------------------
   Generic staggered reveal for elements tagged by enhance.js
   (only applied where the theme's own GSAP reveal is absent)
   -------------------------------------------------------------------------- */
.inx-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    transform 0.85s cubic-bezier(0.21, 0.47, 0.32, 0.98),
    opacity 0.85s ease;
  transition-delay: calc(var(--inx-i, 0) * 90ms);
}

.inx-reveal.inx-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Footer link micro-interactions
   -------------------------------------------------------------------------- */
.footer-social a,
footer.content-info a {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Reduced motion: switch everything off
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .inx-progress,
  .wp-block-button__link::after {
    display: none;
  }

  .sticker,
  .inx-marquee__track {
    animation: none;
  }

  .inx-line > span,
  .inx-hero-late,
  .inx-hero-img-reveal,
  .inx-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}


/* --- inetio additions --- */
.navbar-brand { display: inline-flex; align-items: center; }
.navbar-brand .brand-logo { display: block; width: 132px; height: auto; }
.client-brands { align-items: center; justify-content: center; gap: 28px 36px; }
.client-brands figure { background: #fff; border-radius: 14px; padding: 12px 18px; display: flex; align-items: center; }

.hero-contact-sticker, .hero-contact-sticker:hover { text-decoration: none !important; background-image: none !important; }
.hero-contact-sticker { display: inline-block; background: #fd4f00; color: #fff; font-weight: 900; font-size: 22px; letter-spacing: 0.03em; padding: 16px 30px; border-radius: 999px; transform: rotate(6deg); text-decoration: none; box-shadow: 0 10px 24px -10px rgba(253,79,0,0.6); transition: transform .25s ease, box-shadow .25s ease; }
.hero-contact-sticker:hover { transform: rotate(6deg) translateY(-3px) scale(1.04); box-shadow: 0 16px 30px -10px rgba(253,79,0,0.7); color: #fff; }

.footer__image { display: flex; justify-content: flex-end; margin: 0; padding: 24px 6% 0 0; }
.footer__image img { width: min(42vw, 480px); height: auto; display: block; }
@media (max-width: 700px) { .footer__image { justify-content: center; padding-right: 0; } .footer__image img { width: 70vw; } }

.reel-card video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 1rem; background: #0d2c56; }
.reel-card__label { margin: 12px 6px 4px; font-size: 0.95rem; }

/* --- inetio: robustness & mobile cleanup --- */
html, body { overflow-x: clip; }

/* hero image failsafe: never stay invisible if JS reveal stalls */
.inx-hero-img-reveal { animation: inx-img-failsafe 0.8s ease 1.8s forwards; }
@keyframes inx-img-failsafe {
  to { opacity: 1; clip-path: inset(0 0 0 0 round 0px); }
}

/* client logo marquee */
.inx-marquee--clients .inx-marquee__track { gap: 1.25rem; padding-right: 1.25rem; }
.inx-marquee--clients figure { background: #fff; border: 1px solid #e2eaf3; border-radius: 12px; padding: 10px 18px; display: flex; align-items: center; height: 58px; }
.inx-marquee--clients img { max-height: 32px; max-width: 130px; width: auto; object-fit: contain; }

/* KONTAKTOVAT sticker: undo theme's 100px cap, keep on-screen on mobile */
.hero__ppc-sticker { max-width: none !important; }
@media (max-width: 767px) {
  .hero__ppc-sticker { right: 4% !important; bottom: 3% !important; }
  .hero-contact-sticker { font-size: 15px; padding: 10px 18px; }
  .wp-block-heading { overflow-wrap: break-word; }
  }

/* ==========================================================================
   2026-08-12: odlišení od šablony
   ========================================================================== */

/* 1) Header: bílé pozadí i nahoře (dřív transparent -> světlá po scrollu) */
#header.navbar,
#header.navbar.navbar-transparent {
  background-color: #fff;
  border-bottom: 1px solid #ededed;
}
#header.navbar.headroom--not-top {
  background-color: #fff;
}

/* 3) Nový font pro nadpisy: Anton (self-hosted, nahrazuje licencovaný FK Screamer) */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/theme/fonts/anton-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/theme/fonts/anton-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: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/theme/fonts/bebasneue-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/theme/fonts/bebasneue-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;
}

/* Přepnutí headingového fontu: vše, co jelo přes FKScreamer, teď jede přes Anton.
   Alternativa na test: 'Bebas Neue' (užší, blíž původní šířce FK Screameru). */
:root {
  --wp--preset--font-family--fkscreamer: 'Anton', 'FKScreamer', sans-serif;
}

/* Anton má jen řez 400 – vypnout syntetický bold, ať nadpisy nejsou rozmazané */
h1, h2, h3, h4, h5, h6,
.check-block__text:after {
  font-weight: 400;
}

/* Menu: na desktopu jede v Dazzed – musí zůstat bold; v mobilním menu
   jedou položky v Antonu (jen řez 400, bold by byl syntetický) */
.navbar .nav-link {
  font-weight: 700;
}
@media (max-width: 991.98px) {
  .navbar .nav-link {
    font-weight: 400;
  }
}

/* Anton je širší a vyšší než FK Screamer – celá titulková škála zmenšená
   (~×0,78), ať drží původní proporce layoutu a nic nepřetéká */
body:not(.wp-admin) {
  --wp--preset--font-size--hero: 200px;
  --wp--preset--font-size--big-title: 95px;
  --wp--preset--font-size--medium-title: 70px;
}
@media (max-width: 1919.98px) {
  body:not(.wp-admin) {
    --wp--preset--font-size--hero: 170px;
    --wp--preset--font-size--big-title: 70px;
    --wp--preset--font-size--medium-title: 55px;
  }
}
@media (max-width: 1399.98px) {
  body:not(.wp-admin) {
    --wp--preset--font-size--hero: 140px;
    --wp--preset--font-size--big-title: 62px;
    --wp--preset--font-size--medium-title: 44px;
  }
}
@media (max-width: 1199.98px) {
  body:not(.wp-admin) {
    --wp--preset--font-size--hero: 95px;
    --wp--preset--font-size--big-title: 55px;
    --wp--preset--font-size--medium-title: 36px;
  }
}
@media (max-width: 575.98px) {
  body:not(.wp-admin) {
    --wp--preset--font-size--hero: 20vw;
  }
}

/* Diakritika (Á, Ě…) v Antonu přesahuje výš než ve FK Screameru –
   line-height 0.9 by kolidoval s řádkem nad */
.wp-block-heading.has-hero-font-size,
.case-studies-slide .wp-block-post-title,
.team-slide .wp-block-post-title,
.newsletter-banner .wp-block-heading,
.person-card .wp-block-heading,
.feature-banner__title {
  line-height: 1;
}

/* Footer kontakty: nezalamovat uprostřed e-mailu (globální hyphens:auto),
   a na užších oknech plynule zmenšit, ať se vejdou na řádek */
.footer__email, .footer__phone {
  hyphens: none;
  word-wrap: normal;
  overflow-wrap: normal;
  font-size: min(var(--wp--preset--font-size--medium-title), 3.2vw);
}
@media (max-width: 991.98px) {
  .footer__email, .footer__phone {
    font-size: min(var(--wp--preset--font-size--medium-title), 8.6vw);
  }
}

/* ==========================================================================
   2026-08-12 kolo 3: skryté Co umíme, claim redesign, bílý pás s logy,
   štíhlejší footer
   ========================================================================== */

/* Dočasně skryté sekce (obnovit smazáním třídy inx-hide v index.html) */
.inx-hide {
  display: none !important;
}

/* Claim "Neřešíme jen vaše kampaně…": plná šířka místo poloviční,
   vyvážené řádky, akcent v broskvové */
.claim-big .wp-block-column:last-child {
  display: none;
}
.claim-big .wp-block-column.claim-big__col-1 {
  flex-basis: 100% !important;
}
.claim-title {
  text-wrap: balance;
}
.claim-accent {
  color: #ffd9c2;
}

/* Kanály + značky: jeden bílý full-width pás přes celý viewport */
.channels-band,
#reference {
  border-radius: 0 !important;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding-left: max(20px, 50vw - 905px) !important;
  padding-right: max(20px, 50vw - 905px) !important;
}
.channels-band {
  margin-top: var(--wp--preset--spacing--11) !important;
  margin-bottom: var(--wp--preset--spacing--11) !important;
  padding-top: var(--wp--preset--spacing--8) !important;
  padding-bottom: var(--wp--preset--spacing--8) !important;
}
#reference {
  margin-top: var(--wp--preset--spacing--11) !important;
  margin-bottom: var(--wp--preset--spacing--11) !important;
  padding-top: var(--wp--preset--spacing--8) !important;
  padding-bottom: var(--wp--preset--spacing--8) !important;
}

/* Nadpisy pásů: velké, v Antonu jako ostatní sekce */
.channels-band .is-style-section-title,
#reference .is-style-section-title {
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--fkscreamer);
  font-size: var(--wp--preset--font-size--medium-title);
  font-weight: 400;
  text-transform: uppercase;
}

/* Footer bez formuláře a oktopuse: doplnit spodní odsazení */
.footer {
  padding-bottom: var(--wp--preset--spacing--8) !important;
}

/* ==========================================================================
   2026-08-12 kolo 4: služby carousel, reels popisky, footer badges, kanály
   ========================================================================== */

/* Služby: horizontální scroll-snap carousel (9 karet) */
.wp-block-columns.services-scroller {
  display: flex;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  gap: 20px !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* pravý okraj nechat vyjet až k hraně viewportu */
  margin-right: calc(50% - 50vw);
  padding-right: max(20px, 50vw - 905px);
}
.services-scroller::-webkit-scrollbar {
  display: none;
}
.services-scroller > .wp-block-column {
  flex: 0 0 340px !important;
  scroll-snap-align: start;
  display: flex;
}
@media (min-width: 1200px) {
  .services-scroller > .wp-block-column {
    flex-basis: 430px !important;
  }
}
.services-scroller .content-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
/* delší názvy služeb (Optimalizace, Srovnávače…) se musí vejít na kartu;
   !important kvůli has-medium-title-font-size, která má taky !important */
.services-scroller .content-card__heading h2 {
  font-size: min(var(--wp--preset--font-size--medium-title), 42px) !important;
}
.services-scroller .content-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-end;
  gap: var(--wp--preset--spacing--3);
}
.services-scroller .content-card__body p {
  margin-bottom: 0;
}

/* Reels: výraznější popisky pod videem */
.reel-card__caption {
  padding: 14px 16px 6px;
}
.reel-card__caption p {
  margin-bottom: 0;
}
.reel-card__label {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.reel-card__sub {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.72;
  margin-top: 2px;
}

/* Footer: verifikační badges na bílých kartičkách */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: var(--wp--preset--spacing--6);
}
.footer-badges a {
  border-bottom: 0 !important;
  display: inline-flex;
}
.footer-badges img,
.footer-badges a img {
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  height: 74px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-badges img:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   2026-08-12 kolo 5: kanály zpět jako marquee, služby bez šipek,
   sekce weby a e-shopy, kompletní badges
   ========================================================================== */

/* Marquee s kanály: trochu víc vzduchu a jednotná výška log */
.inx-marquee img {
  max-width: 140px;
  object-fit: contain;
}

/* Služby: kurzor napovídá, že jde carousel táhnout */
.services-scroller {
  cursor: grab;
}
.services-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.services-scroller .content-card__body {
  justify-content: flex-start;
}

/* Weby a e-shopy: carousel projektů */
.web-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.web-card__preview {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none !important;
  border-bottom: 0 !important;
  transition: transform 0.45s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.web-card:hover .web-card__preview {
  transform: translateY(-4px);
}
.web-card__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.web-card__text {
  padding: 16px 16px 10px;
}
.web-card__text p {
  margin-bottom: 0;
}
.web-card__tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
}
.web-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 4px;
  margin-bottom: 10px !important;
}


/* Badges: je jich víc, mírně menší a zabalitelné; bílé logo Bingu na tmavém chipu */
.footer-badges img,
.footer-badges a img {
  height: 64px;
  padding: 8px 14px;
}
.footer-badges img.badge-dark {
  background: #0f4bb0;
}

/* ==========================================================================
   2026-08-12 kolo 6: šipky služeb, autoscroll, cookie lišta, footer úpravy
   ========================================================================== */

/* Služby: kruhové šipky vpravo nad carouselem */
.services-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 4px;
}
.services-nav__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--wp--preset--color--primary);
  background: #fff;
  color: var(--wp--preset--color--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.services-nav__btn:hover {
  background: var(--wp--preset--color--primary);
  color: #fff;
  transform: translateY(-2px);
}
.services-nav__btn svg {
  display: block;
}

/* Reels: jednořádkový popisek (jméno tučně, zbytek jemněji) */
.reel-card__label .reel-card__sub {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
}

/* Weby: náhledy webů — screenshoty */
.web-card__preview {
  aspect-ratio: 16 / 9;
}
.web-card__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.web-card:hover .web-card__shot {
  transform: scale(1.04);
}

/* Footer: kontakty bez podtržení */
.footer__email a,
.footer__phone a {
  border-bottom: 0 !important;
}

/* Footer: GitHub ikona (bílý mark na modrém kolečku jako ostatní) */
.footer-social--github a {
  background-image: url(/assets/uploads/inetio/github-mark-white.png);
  background-size: 22px 22px;
}

/* Cookie lišta: mega lean */
.inx-cookiebar {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--wp--preset--color--primary);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 34px -14px rgba(15, 40, 90, 0.45);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
  max-width: calc(100vw - 36px);
}
.inx-cookiebar.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.inx-cookiebar__btn {
  border: 0;
  background: var(--wp--preset--color--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.inx-cookiebar__btn:hover {
  background: #0f4bb0;
}

/* ==========================================================================
   2026-08-12 kolo 7: weby jako carousel, CTA slide, spacing fixy
   ========================================================================== */

/* Weby: větší slidy než u služeb, ať jsou screenshoty vidět */
.services-scroller.web-cards > .wp-block-column {
  flex: 0 0 calc(50% - 10px) !important;
}
@media (max-width: 767.98px) {
  .services-scroller.web-cards > .wp-block-column {
    flex-basis: 86vw !important;
  }
}
.web-card__title {
  font-size: 18px;
  font-weight: 700;
}
.web-card__title .web-card__tag {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
  text-transform: none;
  letter-spacing: 0;
}

/* CTA slide "Tady může být i váš web" */
.web-card--cta {
  height: 100%;
}
.web-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 320px;
  text-align: center;
  text-decoration: none !important;
  border-bottom: 0 !important;
  color: #fff !important;
  padding: var(--wp--preset--spacing--4);
}
.web-card__cta p {
  margin-bottom: 0;
}
.web-card__cta-title {
  font-family: var(--wp--preset--font-family--fkscreamer);
  font-size: min(var(--wp--preset--font-size--medium-title), 44px);
  text-transform: uppercase;
  line-height: 1;
}
.web-card__cta-sub {
  font-size: 19px;
  font-weight: 700;
  color: #ffd9c2;
  transition: transform 0.3s ease;
}
.web-card--cta:hover .web-card__cta-sub {
  transform: translateX(6px);
}

/* ==========================================================================
   2026-08-12 kolo 8: čitelnější case karty, kariéra, podstránky case studies
   ========================================================================== */

/* Case studies: menší, čitelnější titulky karet */
.case-studies-slide .wp-block-post-title {
  font-size: min(var(--wp--preset--font-size--medium-title), 36px) !important;
}

/* Větší dech hlavních sekcí */
#sluzby, #content, #weby, #kariera {
  padding-top: var(--wp--preset--spacing--8);
}

/* Kariéra: karty pozic */
.kariera-cards {
  gap: 20px;
}
.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--wp--preset--spacing--5) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  transition: transform 0.45s cubic-bezier(0.21, 0.47, 0.32, 0.98), box-shadow 0.45s ease;
}
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(31, 10, 80, 0.35);
}
.job-card p { margin-bottom: 0; }
.job-card__tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
}
.job-card__title {
  font-family: var(--wp--preset--font-family--fkscreamer);
  font-size: min(var(--wp--preset--font-size--medium-title), 40px);
  text-transform: uppercase;
  line-height: 1;
  margin: 10px 0 12px;
}
.job-card__desc {
  font-size: 16px;
  margin-bottom: 18px !important;
}
.job-card__more {
  margin-top: auto;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.job-card:hover .job-card__more {
  transform: translateX(6px);
}
.kariera-perks {
  padding-top: var(--wp--preset--spacing--5);
  opacity: 0.75;
}
@media (max-width: 781px) {
  .kariera-cards {
    flex-wrap: wrap !important;
  }
}

/* Podstránky: case study / pozice */
.cs-hero {
  background: var(--wp--preset--color--yellow);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: calc(90px + var(--wp--preset--spacing--9)) 0 var(--wp--preset--spacing--8);
}
@media (min-width: 1200px) {
  .cs-hero {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
}
.cs-hero--light-green { background: var(--wp--preset--color--light-green); }
.cs-hero--pink { background: var(--wp--preset--color--pink); }
.cs-hero__inner, .cs-article, .cs-cta__inner {
  max-width: 980px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.cs-hero__tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--primary);
  margin-bottom: 12px;
}
.cs-hero__title {
  color: var(--wp--preset--color--primary);
  font-size: min(var(--wp--preset--font-size--big-title), 64px);
  line-height: 1;
  margin-bottom: 0;
}
.cs-article {
  padding-top: var(--wp--preset--spacing--9);
  padding-bottom: var(--wp--preset--spacing--6);
}
.cs-block {
  margin-bottom: var(--wp--preset--spacing--7);
}
.cs-block h2 {
  font-size: min(var(--wp--preset--font-size--medium-title), 38px);
  margin-bottom: 1rem;
}
.cs-block p {
  font-size: 18px;
  line-height: 1.6;
}
.cs-block ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}
.cs-block ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.55;
}
.cs-block ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wp--preset--color--secondary);
}
.cs-block--results {
  background: var(--wp--preset--color--primary);
  color: #fff;
  border-radius: 30px;
  padding: var(--wp--preset--spacing--6);
}
.cs-block--results h2,
.cs-block--results p {
  color: #fff;
}
.cs-block--lead p {
  font-size: var(--wp--preset--font-size--perex);
  line-height: 1.45;
}
.cs-cta {
  text-align: center;
  padding-bottom: var(--wp--preset--spacing--11);
}
.cs-cta h2 {
  font-size: min(var(--wp--preset--font-size--big-title), 56px);
  margin-bottom: var(--wp--preset--spacing--4);
}
.cs-cta .wp-block-buttons {
  justify-content: center;
}

/* Hero perex: nedělit slova spojovníkem */
.hero__perex {
  hyphens: none;
}

/* Case study: obrázky v článku */
.cs-figure {
  margin: var(--wp--preset--spacing--4) 0;
}
.cs-figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
}

/* ==========================================================================
   2026-08-12 kolo 10: výkon marquee na mobilu
   ========================================================================== */
.inx-marquee img {
  height: 40px;
  object-fit: contain;
}
@media (max-width: 767.98px) {
  .inx-marquee::before,
  .inx-marquee::after {
    width: 24px;
  }
  .inx-marquee__track {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }
  .inx-marquee img {
    height: 30px;
  }
}

/* ==========================================================================
   404 stránka
   ========================================================================== */
.nf-hero {
  background: var(--wp--preset--color--yellow);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: calc(90px + var(--wp--preset--spacing--8)) 0 var(--wp--preset--spacing--10);
  min-height: 88vh;
  display: flex;
  align-items: center;
}
@media (min-width: 1200px) {
  .nf-hero {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
}
.nf-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--7);
}
.nf-hero__code {
  font-size: min(var(--wp--preset--font-size--hero), 190px);
  color: var(--wp--preset--color--primary);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}
.nf-hero__title {
  font-size: var(--wp--preset--font-size--subheadline);
  font-weight: 700;
  color: var(--wp--preset--color--primary);
  margin-bottom: 0.75rem;
}
.nf-hero__sub {
  font-size: 18px;
  color: var(--wp--preset--color--primary);
  max-width: 46ch;
}
.nf-hero__buttons {
  gap: 12px;
  margin-top: var(--wp--preset--spacing--4);
}
.nf-hero__image {
  margin: 0;
  flex: 0 1 44%;
}
.nf-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  /* chobotnice mává — hodí se k "zamotala do chapadel" */
  animation: inx-float 6.5s ease-in-out infinite;
}
@media (max-width: 991.98px) {
  .nf-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--wp--preset--spacing--5);
  }
  .nf-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .nf-hero__buttons {
    justify-content: center;
  }
  .nf-hero__image {
    max-width: 420px;
  }
}

.nf-hero__title, .nf-hero__sub {
  hyphens: none;
}

/* ==========================================================================
   Lokální SEO stránky: delší H1 ("Marketingová agentura …") se musí vejít
   ========================================================================== */
.seo-page .hero h1 {
  font-size: min(var(--wp--preset--font-size--hero), 9.2vw) !important;
}
@media (max-width: 767.98px) {
  .seo-page .hero h1 {
    font-size: min(var(--wp--preset--font-size--hero), 13.5vw) !important;
  }
}
