/* skopilabs — tablet & mobile (max-width 1023px) */

/* Carousel / mobile-only blocks hidden until breakpoint */
.nabidka__carousel,
.pro-koho__carousel,
.navbar__menu-toggle,
.navbar__drawer {
  display: none;
}

@media (max-width: 1023px) {
  :root {
    --page-gutter: 16px;
    --section-pad-y: 48px;
    --carousel-edge: 18px; /* Figma mobil 430 — okraj karty od kraje framu */
    --carousel-gap: 18px;
    --gap-eyebrow-h2: 24px;
    --gap-h2-lead: 24px;
    --gap-h5-body: 24px;
    --gap-stack: 40px;
  }

  html {
    scroll-padding-top: var(--nav-h);
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body {
    display: block !important;
    justify-content: flex-start !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: var(--c-paper);
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  /* Horizontální gesto jen v karuselu: touch-action se průnikem dědí z předků,
     proto pan-y nesmí být na html/body/.page ani na sekcích s karuselem. */
  .section:not(.section--nabidka):not(.section--pro-koho),
  .section--nabidka > :not(.carousel),
  .section--pro-koho > :not(.carousel),
  .carousel__dots {
    touch-action: pan-y pinch-zoom;
  }

  .page {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    padding: 0;
    left: 0;
    right: 0;
    background: var(--c-paper);
    overflow-x: visible;
  }

  .abs {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .section {
    position: relative;
    top: auto !important;
    left: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto !important;
    overflow-x: visible;
    overflow-y: visible;
    padding-block: var(--section-pad-y);
    padding-inline: var(--page-gutter);
    box-sizing: border-box;
  }

  .section[id] {
    scroll-margin-top: var(--nav-h);
  }

  .section > *:not([aria-hidden="true"]) {
    z-index: auto;
  }

  /* —— Navbar —— */
  .navbar {
    --nav-h: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: var(--nav-h);
    background: var(--c-paper);
    z-index: 1100;
    overflow-x: clip;
    overflow-y: visible;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
  }

  .navbar__accent {
    position: absolute;
    left: 16px;
    top: 0;
    width: 22px;
    height: var(--nav-h);
    background: var(--c-lime);
  }

  .navbar__logo {
    position: absolute;
    left: 53px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 24px;
    line-height: 32px;
  }

  .navbar__menu {
    display: none !important;
  }

  .navbar__indicator {
    display: none !important;
  }

  .navbar__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2;
  }

  .navbar__menu-toggle img {
    display: block;
    width: 48px;
    height: 48px;
  }

  .navbar__drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    bottom: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1050;
    background: var(--c-ink);
    color: #fff;
    padding: 32px var(--page-gutter) 48px;
    box-sizing: border-box;
  }

  /* clip-path místo translateX(100 %) — drawer neleží mimo viewport (iOS horizontální „houpání“) */
  .navbar__drawer {
    transform: none;
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;
    transition: clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.4s;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .navbar__drawer.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    pointer-events: auto;
  }

  .navbar__drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
  }

  .navbar__drawer-link {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 21px;
    letter-spacing: 0.26px;
    text-transform: uppercase;
    color: #fff;
    background: none;
    border: none;
    padding: 16px 0;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid rgba(248, 248, 245, 0.12);
  }

  .navbar__drawer-link:hover,
  .navbar__drawer-link:focus-visible {
    color: var(--c-lime);
  }

  .navbar__drawer-cta {
    margin-top: auto;
    width: 100%;
    justify-content: center;
  }

  .navbar__drawer-cta .btn__label {
    color: var(--c-ink);
  }

  body.nav-open {
    overflow: hidden;
  }

  /* —— Hero —— */
  .section--hero {
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 56px;
    background: var(--c-paper);
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
    order: 1;
  }

  .hero__title {
    order: 2;
    margin-bottom: var(--gap-h2-lead);
    text-wrap: balance;
  }

  .hero__lead {
    order: 3;
    margin-bottom: 32px;
    max-width: 100%;
  }

  .hero__cta {
    order: 4;
    margin-bottom: 48px;
    align-self: flex-start;
  }

  .hero__image,
  .hero__bar1,
  .hero__bar2,
  .hero__line-v,
  .hero__line-diag {
    display: none !important;
  }

  /* Figma mobil: Lepší výsledky → Osobní přístup → Moderní design */
  .hero__icon-2 {
    order: 5;
    width: 33px;
    height: 33px;
    margin-bottom: 15px;
  }

  .hero__feat-title-2 {
    order: 6;
    margin-bottom: var(--gap-h5-body);
  }

  .hero__feat-text-2 {
    order: 7;
    margin-bottom: var(--gap-stack);
    max-width: 100%;
  }

  .hero__icon-3 {
    order: 8;
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
  }

  .hero__feat-title-3 {
    order: 9;
    margin-bottom: var(--gap-h5-body);
  }

  .hero__feat-text-3 {
    order: 10;
    margin-bottom: var(--gap-stack);
    max-width: 100%;
  }

  .hero__icon-1 {
    order: 11;
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
  }

  .hero__feat-title-1 {
    order: 12;
    margin-bottom: var(--gap-h5-body);
  }

  .hero__feat-text-1 {
    order: 13;
    max-width: 100%;
  }

  /* —— Nabídka —— */
  .section--nabidka {
    background: var(--c-ink);
    color: #fff;
    padding-bottom: 56px;
    overflow-x: clip;
  }

  .section--nabidka .nabidka__desktop-only,
  .section--nabidka .nabidka__card[aria-hidden="true"] {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .nabidka__intro {
    margin-bottom: 8px;
  }

  .nabidka__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
  }

  .nabidka__title {
    margin-bottom: var(--gap-h2-lead);
    max-width: 100%;
  }

  .nabidka__aside {
    margin-bottom: 32px;
    max-width: 100%;
    color: #fff;
  }

  /* Full-bleed bez 100vw (scroll bar šířky stránky nehýbe) */
  .section--nabidka > .nabidka__carousel.carousel,
  .section--pro-koho > .pro-koho__carousel.carousel {
    display: block;
    box-sizing: border-box;
    width: calc(100% + 2 * var(--page-gutter));
    max-width: none;
    min-width: 0;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    overflow: hidden;
    isolation: isolate;
    overscroll-behavior-x: contain;
  }

  /* —— Carousel shared —— */
  .carousel {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overscroll-behavior-x: contain;
  }

  .carousel__track {
    display: flex;
    flex-direction: row;
    gap: var(--carousel-gap);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y pinch-zoom;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--carousel-edge) 8px;
    scroll-padding-inline: var(--carousel-edge);
  }

  .carousel__track::-webkit-scrollbar {
    display: none;
  }

  /* 100 % = šířka tracku mínus padding (flex content box) ≈ karta 394px @ 430 */
  .carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    overscroll-behavior-x: contain;
  }

  .carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0 var(--carousel-edge);
    box-sizing: border-box;
    overscroll-behavior-x: contain;
  }

  .carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(248, 248, 245, 0.35);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
  }

  .carousel__dot.is-active {
    background: var(--c-lime);
    transform: scale(1.15);
  }

  .nabidka-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 24px 20px 28px;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .nabidka-card--design,
  .nabidka-card--miru {
    border: 1px solid var(--c-lime);
    background: transparent;
    color: #fff;
  }

  .nabidka-card--komplet {
    background: var(--c-lime);
    color: var(--c-ink);
  }

  .nabidka-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
  }

  .nabidka-card__name {
    margin-bottom: var(--gap-h5-body);
  }

  .nabidka-card__desc {
    margin-bottom: 24px;
    flex-grow: 1;
  }

  .nabidka-card__price {
    text-align: center;
    margin-bottom: 24px;
  }

  .nabidka-card__list {
    margin-bottom: 16px;
  }

  .nabidka-card__list .check-row {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 23px;
  }

  .nabidka-card__more {
    align-self: flex-end;
    margin-bottom: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
    line-height: 23px;
    text-decoration: underline dotted;
    color: inherit;
    padding: 0;
  }

  .nabidka-card__cta {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .nabidka-card--komplet .nabidka-card__list .t-body {
    color: var(--c-ink);
  }

  /* —— Pro koho —— */
  .section--pro-koho {
    background: var(--c-paper);
    padding-bottom: 56px;
    overflow-x: clip;
  }

  .pro-koho__desktop-only {
    display: none !important;
  }

  .pro-koho__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
  }

  .pro-koho__title {
    margin-bottom: var(--gap-h2-lead);
    max-width: 100%;
    text-wrap: balance;
  }

  .pro-koho__lead {
    margin-bottom: 32px;
    max-width: 100%;
  }

  .pro-koho__carousel .carousel__dot {
    background: rgba(16, 19, 18, 0.2);
  }

  .pro-koho__carousel .carousel__dot.is-active {
    background: var(--c-lime);
  }

  .pro-koho-card {
    background: var(--c-mist);
    border-radius: 16px;
    padding: 24px 20px 28px;
    min-height: 280px;
    box-sizing: border-box;
  }

  .pro-koho-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
  }

  .pro-koho-card__title {
    margin-bottom: var(--gap-h5-body);
  }

  .pro-koho-card__text {
    max-width: 100%;
  }

  /* —— Jak —— */
  .section--jak {
    background: var(--c-paper);
    padding-bottom: 56px;
  }

  .jak__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
  }

  .jak__title {
    margin-bottom: var(--gap-h2-lead);
    max-width: 100%;
    text-wrap: balance;
  }

  .jak__arrow-between {
    display: none !important;
  }

  .jak__col {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    padding-left: 0;
    min-height: 0;
  }

  .jak__col-ellipse {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .jak__col-num {
    position: absolute;
    left: 19px;
    top: 15px;
  }

  .jak__col-title {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: var(--gap-h5-body);
    margin-top: -40px;
    padding-top: 48px;
  }

  .jak__col-text {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .jak__cta-title {
    margin-top: 16px;
    margin-bottom: 16px;
    max-width: 100%;
    text-wrap: balance;
  }

  .jak__cta-lead {
    margin-bottom: 24px;
    max-width: 100%;
  }

  .jak__cta-btn {
    align-self: flex-start;
  }

  /* —— Výhody —— */
  .section--vyhody {
    background: var(--c-ink);
    color: #fff;
    padding-bottom: 56px;
  }

  .vyhody__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
  }

  .vyhody__eyebrow .t-eyebrow {
    color: #fff;
  }

  .vyhody__title {
    margin-bottom: var(--gap-h2-lead);
    text-wrap: balance;
  }

  .vyhody__item {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: var(--gap-h5-body);
    margin-bottom: 64px;
    align-items: start;
  }

  .vyhody__item-icon {
    grid-column: 1;
    grid-row: 1;
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
  }

  .vyhody__item-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .vyhody__item-text {
    grid-column: 2;
    grid-row: 2;
    max-width: 100%;
    margin: 0;
  }

  .vyhody__icon-penize,
  .vyhody__icon-cil,
  .vyhody__icon-bryle,
  .vyhody__icon-prezentace,
  .vyhody__icon-srdce,
  .vyhody__icon-checklist,
  .vyhody__h-l1,
  .vyhody__h-l2,
  .vyhody__h-l3,
  .vyhody__h-r1,
  .vyhody__h-r2,
  .vyhody__h-r3,
  .vyhody__p-l1,
  .vyhody__p-l2,
  .vyhody__p-l3,
  .vyhody__p-r1,
  .vyhody__p-r2,
  .vyhody__p-r3 {
    /* reset absolute coords — layout via .vyhody__item wrappers on mobile */
  }

  /* —— O mně —— */
  .section--o-mne {
    background: var(--c-paper);
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }

  .o-mne__copy {
    order: 1;
  }

  .o-mne__eyebrow {
    margin-bottom: var(--gap-eyebrow-h2);
  }

  .o-mne__title {
    margin-bottom: var(--gap-h2-lead);
    max-width: 100%;
    text-wrap: balance;
  }

  .o-mne__text {
    margin-bottom: 40px;
    max-width: 100%;
  }

  .o-mne__photo {
    order: 2;
    display: block;
    box-sizing: border-box;
    width: calc(100% + 2 * var(--page-gutter));
    max-width: none;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
    height: auto;
    min-height: 240px;
    border-radius: 0;
    overflow: hidden;
    padding: 0;
  }

  .section--o-mne .o-mne__copy {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .o-mne__photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 430 / 268;
  }

  /* —— Kontakt (Figma mobil 142:1123, 430×1033) —— */
  .section--kontakt {
    background: var(--c-ink);
    color: #fff;
    padding-top: 32px;
    padding-bottom: 43px;
    display: flex;
    flex-direction: column;
  }

  .kontakt__eyebrow {
    order: 1;
    margin-bottom: 32px;
    color: #fff;
  }

  .kontakt__eyebrow .t-eyebrow,
  .kontakt__eyebrow .eyebrow__dot {
    color: #fff;
  }

  .kontakt__title {
    order: 2;
    margin-bottom: 40px;
    max-width: 100%;
    color: #fff;
    text-wrap: balance;
  }

  .kontakt__lead {
    order: 3;
    margin-bottom: 52px;
    max-width: 100%;
    color: #fff;
  }

  .section--kontakt > .contact-form {
    position: relative;
    order: 4;
    width: 100%;
    height: auto;
    min-height: 494px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--c-paper);
    border-radius: 16px;
    padding: 29px 13px 32px;
    box-sizing: border-box;
    z-index: 1;
  }

  .kontakt__turnstile-note {
    order: 5;
    margin-top: 13px;
    margin-bottom: 0;
    max-width: 100%;
    text-align: left;
    color: #fff;
  }

  .kontakt__contacts {
    order: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 35px;
    margin-bottom: 0;
  }

  .kontakt__row-phone,
  .kontakt__row-email,
  .kontakt__row-loc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 0;
    text-align: left;
    width: max-content;
    max-width: 100%;
  }

  .kontakt__row-link {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
  }

  .kontakt__row-link:focus-visible {
    outline: 2px solid var(--c-lime);
    outline-offset: 4px;
    border-radius: 4px;
  }

  .section--kontakt .kontakt__row-link .t-head5,
  .section--kontakt .kontakt__row-loc .t-head5 {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
  }

  .section--kontakt .kontakt__row img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .kontakt__contacts .abs {
    position: relative;
    left: auto;
    top: auto;
  }

  .kontakt__form-panel {
    display: none !important;
  }

  .contact-form .form-trap {
    position: absolute !important;
    order: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .contact-form .label-name {
    order: 1;
  }

  .contact-form #name {
    order: 2;
  }

  .contact-form .label-email {
    order: 3;
  }

  .contact-form #email {
    order: 4;
  }

  .contact-form .label-phone {
    order: 5;
  }

  .contact-form #phone {
    order: 6;
  }

  .contact-form .label-message {
    order: 7;
  }

  .contact-form #message {
    order: 8;
  }

  .contact-form .btn-submit {
    order: 10;
  }

  .contact-form__status {
    order: 11;
  }

  .contact-form label {
    position: relative;
    display: block;
    margin-bottom: 5px;
    margin-top: 0;
    left: auto;
    top: auto;
    color: var(--c-ink);
  }

  .contact-form input,
  .contact-form textarea {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    margin-bottom: 16px;
    padding: 4px 6px;
    background: var(--c-paper);
    border: 1px solid var(--c-ink);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 0.15px;
    color: var(--c-ink);
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--c-muted);
  }

  .contact-form #name,
  .contact-form #email,
  .contact-form #phone {
    width: 100%;
    min-height: 30px;
  }

  .contact-form #message {
    width: 100%;
    height: 169px;
    min-height: 169px;
    resize: none;
    margin-bottom: 22px;
    padding: 10px 6px 4px;
  }

  .contact-form.needs-challenge #message {
    min-height: 140px;
    height: 140px;
    margin-bottom: 16px;
  }

  .contact-form__turnstile {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    order: 9;
  }

  /* Widget jen když Cloudflare vyžaduje klik — nad tlačítkem, ne ve Figma layoutu */
  .contact-form.needs-challenge .contact-form__turnstile {
    position: relative;
    clip: auto;
    clip-path: none;
    width: 100%;
    height: 65px;
    min-height: 65px;
    margin-bottom: 16px;
    overflow: visible;
    visibility: visible;
    pointer-events: auto;
  }

  .contact-form .btn-submit {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .contact-form__status {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    margin: 12px 0 0;
    padding: 0;
    display: none;
    align-items: flex-start;
    color: var(--c-ink);
    text-align: left;
    line-height: 1.45;
    border-radius: 8px;
    background: transparent;
  }

  .contact-form__status:not(:empty) {
    display: flex;
    padding: 12px 8px;
  }

  .contact-form__status[data-state="success"] {
    background: rgba(217, 243, 106, 0.35);
    color: var(--c-ink);
  }

  .contact-form__status[data-state="error"] {
    background: rgba(255, 0, 4, 0.08);
    color: var(--c-danger);
  }

  .contact-form.needs-challenge .contact-form__status:empty {
    display: none;
  }

  /* —— Footer (Figma mobil 142:1180, 430×90) —— */
  .section--footer {
    background: var(--c-ink);
    color: #fff;
    border-top: 1px solid var(--c-paper);
    box-sizing: border-box;
    min-height: 90px;
    padding: 15px var(--page-gutter) 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: center;
  }

  .footer__legal {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 238px;
    margin: 0 0 5px;
    line-height: 20px;
    text-align: center;
    color: #fff;
  }

  /* layout.css .footer__link je jen desktop — na mobilu reset tlačítka + tečkované podtržení */
  .footer__link {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.12px;
    color: #fff;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.72px;
  }

  .footer__link:hover,
  .footer__link:focus-visible {
    color: #fff;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    outline: none;
  }

  .footer__link:focus-visible {
    outline: 2px solid var(--c-lime);
    outline-offset: 4px;
    border-radius: 2px;
  }

  .footer__center {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 266px;
    margin: 0;
    line-height: 20px;
    color: #fff;
    white-space: normal;
    text-align: center;
  }

  /* Buttons in flow */
  .section .btn.abs {
    position: relative;
  }
}

/* —— Mobile-only (max 743px) —— */
@media (max-width: 743px) {
  :root {
    --nav-h: 64px;
    --section-pad-y: 48px;
  }

  .section--hero .t-head1,
  .hero__title.t-head1 {
    font-size: 52px;
    line-height: 60px;
    letter-spacing: -1.04px;
  }

  .section .t-head2,
  .nabidka__title,
  .pro-koho__title,
  .jak__title,
  .vyhody__title,
  .o-mne__title,
  .kontakt__title {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.4px;
  }

  .nabidka-card__name.t-head4,
  .nabidka-card__price.t-head4 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0.28px;
  }

  .hero__feat-title-1,
  .hero__feat-title-2,
  .hero__feat-title-3,
  .pro-koho-card__title,
  .jak__col-title,
  .vyhody__item-title {
    font-size: 22px;
    line-height: 30px;
  }

  .vyhody__desktop-grid {
    display: none !important;
  }

  .vyhody__mobile-list {
    display: block !important;
  }
}

/* Vyhody mobile list (hidden on desktop via layout wrap) */
.vyhody__mobile-list {
  display: none;
}

@media (max-width: 1023px) {
  .vyhody__mobile-list {
    display: block;
  }

  .vyhody__desktop-grid {
    display: none !important;
  }

  .section--vyhody {
    display: flex;
    flex-direction: column;
  }
}

/* —— Mobil: vertikální rozestupy přesně podle Figmy 131:36 (430 px) ——
   Figma měří texty oříznuté na verzálky (.tb), takže margin = viditelná mezera z Figmy.
   Jen do 743 px — tablet (131:35) má vlastní rozestupy. */
@media (max-width: 743px) {
  :root {
    --gap-eyebrow-h2: 32px;
    --gap-h2-lead: 40px;
  }

  .section:not(.section--footer) {
    padding-top: 32px;
    padding-bottom: 43px;
  }

  /* Eyebrow je flex kontejner — trim z .tb se na text nepropíše, ve Figmě má 9 px */
  .section .eyebrow {
    height: 9px;
    align-items: center;
  }

  .section .eyebrow > span:not(.eyebrow__dot) {
    text-box: trim-both cap alphabetic;
  }

  /* Hero 138:817 */
  .section.section--hero {
    padding-top: calc(var(--nav-h) + 30px);
  }

  .hero__eyebrow {
    margin-bottom: 34px;
  }

  .hero__lead {
    margin-bottom: 48px;
  }

  .hero__cta {
    margin-bottom: 40px;
  }

  .hero__icon-3 {
    width: 33px;
    height: 33px;
  }

  .hero__icon-1 {
    margin-bottom: 16px;
  }

  /* Ceník 138:856 */
  .section.section--nabidka {
    padding-top: 30px;
  }

  .nabidka__eyebrow {
    margin-bottom: 34px;
  }

  .nabidka__aside {
    margin-bottom: 52px;
  }

  .nabidka-card {
    min-height: 0;
    padding: 22px 31px 56px 29px;
  }

  .nabidka-card__name.t-head4,
  .nabidka-card__price.t-head4 {
    font-size: 33px;
    line-height: 41px;
    letter-spacing: 0.33px;
  }

  .nabidka-card__name {
    margin-bottom: 36px;
  }

  .nabidka-card__desc {
    flex-grow: 0;
    margin-bottom: 48px;
  }

  .nabidka-card__price {
    text-align: left;
    margin-bottom: 48px;
  }

  .nabidka-card__list {
    margin-bottom: 48px;
  }

  .nabidka-card__list .check-row {
    height: 15px;
    margin-bottom: 8px;
  }

  .nabidka-card__list .check-row:last-child {
    margin-bottom: 0;
  }

  .nabidka-card__more {
    margin-top: auto;
    margin-bottom: 48px;
  }

  .nabidka-card__cta {
    width: calc(100% - 2px);
    margin-left: 2px;
  }

  .carousel__dots {
    height: 12px;
  }

  /* Pro koho 138:914 */
  .pro-koho__lead {
    margin-bottom: 40px;
  }

  .pro-koho-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 275px;
    padding: 26px 24px 0;
  }

  /* Jak to funguje 138:961 */
  .jak__title {
    margin-bottom: 60px;
  }

  .jak__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .jak__col-4 {
    margin-bottom: 72px;
  }

  .jak__col-ellipse {
    margin-bottom: 24px;
  }

  .jak__col-title {
    margin-top: 0;
    padding-top: 0;
  }

  .jak__cta-title {
    margin-top: 0;
    margin-bottom: 40px;
  }

  .jak__cta-lead {
    margin-bottom: 40px;
  }

  /* Výhody 139:1004 — ikona nesmí určovat výšku řádku s nadpisem */
  .vyhody__item-icon {
    grid-row: 1 / span 2;
  }

  .vyhody__item:last-child {
    margin-bottom: 0;
  }

  /* O mně 139:1114 */
  .o-mne__text {
    margin-bottom: 80px;
  }

  .section.section--o-mne {
    padding-bottom: 43px;
  }
}

/* —— Tablet 744–1023: vlastní layout podle Figmy 131:35 (744 px) ——
   Typografie = desktopové tokeny z base.css (Head1 94/110, Head2 59/67, Head4 33/41).
   Margin = viditelná mezera z Figmy (texty oříznuté na verzálky přes .tb). */
@media (min-width: 744px) and (max-width: 1023px) {
  :root {
    --page-gutter: 40px;
    --section-pad-y: 48px;
    --nav-h: 72px;
  }

  .section:not(.section--footer) {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section .eyebrow {
    height: 9px;
    align-items: center;
  }

  .section .eyebrow > span:not(.eyebrow__dot) {
    text-box: trim-both cap alphabetic;
  }

  /* —— Navbar 134:362 —— */
  .navbar {
    --nav-h: 72px;
  }

  .navbar__accent {
    left: 40px;
  }

  .navbar__logo {
    left: 77px;
  }

  .navbar__menu-toggle {
    right: 40px;
  }

  /* —— Hero 134:372 — bez eyebrow, výhody ve 2 sloupcích —— */
  .section.section--hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
    justify-items: start;
    padding-top: calc(var(--nav-h) + 68px);
  }

  .hero__eyebrow {
    display: none !important;
  }

  .hero__title {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 551px;
    margin-bottom: 48px;
    text-wrap: wrap;
  }

  .hero__lead {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 470px;
    margin-bottom: 64px;
  }

  .hero__cta {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-bottom: 64px;
  }

  .hero__icon-2,
  .hero__icon-3 {
    grid-row: 4;
    width: 33px;
    height: 33px;
    margin-bottom: 15px;
  }

  .hero__feat-title-2,
  .hero__feat-title-3 {
    grid-row: 5;
    margin-bottom: 24px;
  }

  .hero__feat-text-2,
  .hero__feat-text-3 {
    grid-row: 6;
    max-width: 324px;
    margin-bottom: 48px;
  }

  .hero__icon-2,
  .hero__feat-title-2,
  .hero__feat-text-2 {
    grid-column: 1;
  }

  .hero__icon-3,
  .hero__feat-title-3,
  .hero__feat-text-3 {
    grid-column: 2;
  }

  .hero__icon-1 {
    grid-column: 1;
    grid-row: 7;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }

  .hero__feat-title-1 {
    grid-column: 1;
    grid-row: 8;
    margin-bottom: 24px;
  }

  .hero__feat-text-1 {
    grid-column: 1;
    grid-row: 9;
    max-width: 304px;
  }

  /* —— Ceník 134:406 — karta 394 px na střed, sousední karty vykukují —— */
  .nabidka__eyebrow {
    margin-bottom: 48px;
  }

  .nabidka__title {
    max-width: 494px;
    margin-bottom: 40px;
  }

  .nabidka__aside {
    max-width: 494px;
    margin-bottom: 80px;
  }

  .nabidka__carousel {
    --carousel-edge: calc((100% - 394px) / 2);
    --carousel-gap: 49px;
  }

  .nabidka-card {
    min-height: 0;
    padding: 22px 31px 56px;
  }

  .nabidka-card__icon {
    margin-left: -2px;
  }

  .nabidka-card__name {
    margin-bottom: 36px;
  }

  .nabidka-card__desc {
    flex-grow: 0;
    margin-bottom: 48px;
  }

  .nabidka-card__price {
    text-align: left;
    margin-bottom: 48px;
  }

  .nabidka-card__list {
    margin-bottom: 48px;
  }

  .nabidka-card__list .check-row {
    height: 15px;
    margin-bottom: 8px;
  }

  .nabidka-card__list .check-row:last-child {
    margin-bottom: 0;
  }

  .nabidka-card__more {
    margin-top: auto;
    margin-bottom: 48px;
  }

  .nabidka__carousel .carousel__dots {
    height: 12px;
    margin-top: 32px;
  }

  /* —— Pro koho 134:591 — mřížka 2 sloupce místo karuselu —— */
  .pro-koho__eyebrow {
    margin-bottom: 48px;
  }

  .pro-koho__title {
    max-width: 551px;
    margin-bottom: 40px;
    text-wrap: wrap;
  }

  .pro-koho__lead {
    max-width: 470px;
    margin-bottom: 62px;
  }

  .section--pro-koho > .pro-koho__carousel.carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }

  .pro-koho__carousel .carousel__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 16px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .pro-koho__carousel .carousel__slide {
    scroll-snap-align: none;
  }

  .pro-koho__carousel .carousel__dots {
    display: none;
  }

  .pro-koho-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 313px;
    padding: 22px 15px 22px 14px;
  }

  .pro-koho-card__title {
    margin-bottom: 36px;
  }

  .pro-koho-card:nth-child(n + 2) .pro-koho-card__icon {
    margin-bottom: 23px;
  }

  .pro-koho-card:nth-child(n + 2) .pro-koho-card__title {
    margin-bottom: 37px;
  }

  /* —— Jak to funguje 134:642 — kroky 2×2 se šipkami —— */
  .section.section--jak {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
    justify-items: start;
  }

  .jak__eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 48px;
  }

  .jak__title {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 494px;
    margin-bottom: 80px;
    text-wrap: wrap;
  }

  .jak__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 324px;
    margin-bottom: 64px;
  }

  .jak__col-1 {
    grid-column: 1;
    grid-row: 3;
  }

  .jak__col-2 {
    grid-column: 2;
    grid-row: 3;
  }

  .jak__col-3 {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 88px;
  }

  .jak__col-4 {
    grid-column: 2;
    grid-row: 4;
    margin-bottom: 88px;
  }

  .jak__col-ellipse {
    margin-bottom: 24px;
  }

  .jak__col-title {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 24px;
  }

  /* Šipka ve stejné buňce jako krok: 94 px od kraje, osa ve středu kolečka (24 px) */
  .jak__arrow-between {
    display: block !important;
    width: 190px;
    height: auto;
    margin: 21px 0 0 94px;
  }

  .jak__arrow-1 {
    grid-column: 1;
    grid-row: 3;
  }

  .jak__arrow-2 {
    grid-column: 2;
    grid-row: 3;
  }

  .jak__arrow-3 {
    grid-column: 1;
    grid-row: 4;
  }

  .jak__cta-title {
    grid-column: 1 / -1;
    grid-row: 5;
    max-width: 548px;
    margin: 0 0 40px;
    text-wrap: wrap;
  }

  .jak__cta-lead {
    grid-column: 1 / -1;
    grid-row: 6;
    max-width: 442px;
    margin-bottom: 48px;
  }

  .jak__cta-btn {
    grid-column: 1 / -1;
    grid-row: 7;
  }

  /* —— Výhody 134:680 —— */
  .vyhody__eyebrow {
    margin-bottom: 48px;
  }

  .vyhody__title {
    max-width: 664px;
    margin-bottom: 80px;
  }

  .vyhody__item {
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 0;
    row-gap: 32px;
    margin-bottom: 56px;
  }

  .vyhody__item:nth-child(n + 4) {
    grid-template-columns: 81px minmax(0, 1fr);
  }

  .vyhody__item:last-child {
    margin-bottom: 0;
  }

  /* SVG má přesah tahu 0.75 px na každé straně — vlastní rozměr, posun o přesah */
  .vyhody__item-icon {
    grid-row: 1 / span 2;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin: -0.75px 0 0 -0.75px;
  }

  /* —— O mně 134:737 —— */
  .o-mne__eyebrow {
    margin-bottom: 48px;
  }

  .o-mne__title {
    max-width: 664px;
    margin-bottom: 48px;
    text-wrap: wrap;
  }

  .o-mne__text {
    max-width: 664px;
    margin-bottom: 48px;
  }

  .o-mne__photo {
    min-height: 0;
  }

  .o-mne__photo img {
    aspect-ratio: 744 / 382;
  }

  /* —— Kontakt 134:747 — formulář ve 2 sloupcích, kontakty vlevo —— */
  .kontakt__eyebrow {
    margin-bottom: 48px;
  }

  .kontakt__title {
    max-width: 494px;
    margin-bottom: 48px;
  }

  .kontakt__lead {
    max-width: 389px;
    margin-bottom: 64px;
  }

  .section--kontakt > .contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-items: start;
    min-height: 394px;
    padding: 29px 35px 20px 21px;
  }

  .contact-form label {
    margin-bottom: 9px;
  }

  .contact-form .label-name,
  .contact-form #name,
  .contact-form .label-phone,
  .contact-form #phone {
    grid-column: 1;
  }

  .contact-form .label-email,
  .contact-form #email {
    grid-column: 2;
  }

  .contact-form .label-name,
  .contact-form .label-email {
    grid-row: 1;
  }

  .contact-form #name,
  .contact-form #email {
    grid-row: 2;
  }

  .contact-form .label-phone {
    grid-row: 3;
  }

  .contact-form #phone {
    grid-row: 4;
  }

  .contact-form .label-message,
  .contact-form #message,
  .contact-form__turnstile,
  .contact-form .btn-submit,
  .contact-form__status {
    grid-column: 1 / -1;
  }

  .contact-form .label-message {
    grid-row: 5;
  }

  .contact-form #message {
    grid-row: 6;
    height: 137px;
    min-height: 137px;
  }

  .contact-form__turnstile {
    grid-row: 7;
  }

  .contact-form .btn-submit {
    grid-row: 8;
    justify-self: start;
    margin-top: 0;
  }

  .contact-form__status {
    grid-row: 9;
  }

  .kontakt__contacts {
    align-items: flex-start;
    margin-top: 58px;
  }

  /* —— Zápatí 134:789 — copyright na jeden řádek —— */
  .section--footer {
    padding-top: 18px;
  }

  .footer__legal {
    margin-bottom: 18px;
  }

  .footer__center {
    max-width: none;
  }
}
