/* Úvodní stránka Trikopick.Eu: oranžová a šedá. Doplňuje css/styles.css. */

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Hlavička */
.l-header { position: relative; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--steel); }
@media (min-width: 800px) { .l-header { position: sticky; top: 0; } }
.l-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 14px; }
.l-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 15px; font-weight: 500; color: var(--mist); }
.l-nav a { position: relative; padding: 12px 0; }
.l-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.l-nav a:not(.btn):hover { color: var(--white); }
.l-nav a:not(.btn):hover::after { transform: scaleX(1); }
.l-nav .btn { min-height: 44px; padding: 0 20px; color: var(--white); }

/* Úvod */
.l-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-bottom: 6px solid var(--orange); }
.l-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.l-orb.a { width: 520px; height: 520px; right: -140px; top: -180px; background: var(--orange); opacity: .32; animation: drift 18s ease-in-out infinite alternate; }
.l-orb.b { width: 440px; height: 440px; left: -160px; bottom: -220px; background: #6B6E74; opacity: .35; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.l-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
@media (max-width: 900px) { .l-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.l-hero-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.l-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.l-tag { padding: 7px 14px; border: 1px solid var(--mid); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mist); }
.l-hero h1 { font-weight: 700; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.025em; }
.l-mark { background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .2em; animation: underline 1s .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes underline { from { background-size: 0 .2em; } }
.l-rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Ukázkové okno prohlížeče v úvodu */
.l-visual { position: relative; padding: 24px 0 36px; min-width: 0; }
.l-browser { background: var(--deep); border: 1px solid var(--steel); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.l-browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--steel); }
.l-url { flex: 1; min-width: 0; margin-left: 10px; padding: 5px 12px; border-radius: 6px; background: var(--steel); color: var(--mist); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-browser-body { display: grid; gap: 14px; padding: 18px; }
.l-site-hero { display: grid; gap: 10px; padding: 18px; border-radius: 10px; background: linear-gradient(135deg, #3A3D42, #2D2F33); }
.l-line { height: 10px; border-radius: 5px; background: var(--steel); }
.l-line.title { height: 16px; width: 62%; background: var(--paper); }
.l-line.btn-shape { height: 26px; width: 34%; margin-top: 4px; border-radius: 6px; background: var(--orange); }
.l-mini-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.l-mini-photo { aspect-ratio: 4 / 3; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .75); }
.l-mini-photo:nth-child(1) { background: linear-gradient(135deg, #6B6E74, #3A3D42); }
.l-mini-photo:nth-child(2) { background: linear-gradient(135deg, #F26A1B, #B8470A); }
.l-mini-photo:nth-child(3) { background: linear-gradient(135deg, #8A8D93, #55585E); }
.l-slots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--mist); font-size: 12px; font-weight: 600; }
.l-slot { padding: 7px 12px; border-radius: 6px; background: var(--steel); color: var(--mist); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.l-slot.pick { animation: slotpick 6s ease-in-out infinite; }
@keyframes slotpick { 0%, 30% { background: var(--steel); color: var(--mist); } 40%, 85% { background: var(--orange); color: var(--deep); } 100% { background: var(--steel); color: var(--mist); } }
.l-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.l-chip svg { flex: none; color: var(--orange-ink); }
.l-chip.c1 { left: -22px; bottom: 0; animation: float 6s ease-in-out -2s infinite; }
.l-chip.c2 { right: -14px; top: 0; animation: float 8s ease-in-out -4s infinite; }
@media (max-width: 900px) { .l-chip.c1 { left: 8px; } .l-chip.c2 { right: 8px; } }

/* Posouvající se pruh */
.l-marquee { overflow: hidden; background: var(--orange); color: var(--deep); white-space: nowrap; }
.l-marquee-track { display: inline-flex; animation: scroll 36s linear infinite; }
.l-marquee:hover .l-marquee-track { animation-play-state: paused; }
.l-marquee-group { display: inline-flex; flex: none; }
.l-marquee-group span { display: inline-flex; align-items: center; gap: 48px; padding: 16px 0 16px 48px; font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.l-marquee-group span::after { content: ""; width: 10px; height: 10px; background: var(--deep); transform: rotate(45deg); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sekce */
.l-section { padding: clamp(64px, 9vw, 120px) 0; }
.l-dark { background: var(--ink); color: var(--white); }
.l-head { display: grid; gap: 16px; max-width: 680px; margin-bottom: 56px; }
.l-title { font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.l-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.l-dark .l-eyebrow { color: var(--orange); }
.l-sub { font-size: 18px; line-height: 1.6; color: var(--mid); }
.l-dark .l-sub { color: var(--mist); }

/* Karty služeb */
.l-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.l-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 36px; border-radius: 14px; background: var(--white); overflow: hidden; }
.l-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.l-card:hover { translate: 0 -6px; box-shadow: 0 24px 40px -22px rgba(38, 40, 43, .45); }
.l-card:hover::after { transform: scaleX(1); }
.l-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: var(--orange); transition: transform .3s ease, background .3s ease, color .3s ease; }
.l-card:hover .l-icon { transform: rotate(-6deg) scale(1.06); background: var(--orange); color: var(--deep); }
.l-card h3 { font-weight: 600; font-size: 24px; line-height: 1.2; }
.l-card p { font-size: 16px; line-height: 1.6; color: var(--mid); }
.l-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 40px; color: var(--mid); font-size: 16px; }
.l-extra b { color: var(--ink); font-weight: 600; }
.l-pill { padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; }

/* Rezervace */
.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .l-split { grid-template-columns: minmax(0, 1fr); } }
.l-split-text { display: grid; gap: 24px; min-width: 0; }
.l-checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.l-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; }
.l-checks svg { flex: none; margin-top: 3px; color: var(--orange); }
.l-cal { position: relative; padding: 24px; border: 1px solid var(--steel); border-radius: 16px; background: var(--deep); min-width: 0; }
.l-cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.l-cal-head b { font-family: var(--font-head); font-size: 20px; }
.l-cal-head span { font-size: 13px; color: var(--mist); }
.l-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.l-dow { padding-bottom: 6px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--line); }
.l-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--mist); font-size: 14px; font-variant-numeric: tabular-nums; }
.l-day.off { background: none; }
.l-day.busy { background: rgba(242, 106, 27, .26); color: #FFC09A; font-weight: 600; }
.l-day.live { animation: book 9s ease-in-out infinite; animation-delay: var(--w, 0s); }
@keyframes book { 0%, 25% { background: rgba(255, 255, 255, .05); color: var(--mist); transform: scale(1); } 35% { transform: scale(1.12); } 40%, 88% { background: var(--orange); color: var(--deep); font-weight: 700; transform: scale(1); } 100% { background: rgba(255, 255, 255, .05); color: var(--mist); } }
.l-toast { position: absolute; right: 18px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .55); animation: toast 9s ease-in-out infinite; }
.l-toast svg { color: var(--orange-ink); flex: none; }
@keyframes toast { 0%, 34% { opacity: 0; transform: translateY(14px); } 42%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(14px); } }

/* Fotky podniku */
.l-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); align-items: start; }
.l-frame { margin: 0; display: grid; gap: 12px; padding: 10px 10px 14px; border-radius: 10px; background: var(--white); box-shadow: 0 20px 36px -22px rgba(38, 40, 43, .5); transition: transform .35s ease, box-shadow .35s ease; }
.l-frame:nth-child(1) { rotate: -3deg; }
.l-frame:nth-child(2) { margin-top: 28px; rotate: 2deg; }
.l-frame:nth-child(3) { rotate: -1.5deg; }
.l-frame:hover { transform: translateY(-8px); box-shadow: 0 30px 44px -22px rgba(38, 40, 43, .6); }
.l-frame svg { display: block; width: 100%; height: auto; border-radius: 6px; }
.l-frame figcaption { padding: 0 4px; font-size: 14px; font-weight: 600; text-align: center; }
.l-photo-text { display: grid; gap: 24px; min-width: 0; }

/* Postup */
.l-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.l-step { position: relative; display: grid; align-content: start; gap: 12px; padding-top: 28px; }
.l-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); opacity: .4; }
.l-step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s cubic-bezier(.2, .7, .2, 1); }
.l-step.in::after, .l-step:not(.reveal)::after { transform: scaleX(1); }
.l-num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--orange-ink); }
.l-step h3 { font-weight: 600; font-size: 22px; }
.l-step p { font-size: 16px; line-height: 1.6; color: var(--mid); }

/* Kontakt */
.l-cta { background: var(--orange); color: var(--deep); }
.l-cta-grid { display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 104px); max-width: 820px; }
.l-cta h2 { font-weight: 700; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.l-cta p { font-size: 19px; line-height: 1.55; max-width: 560px; }
.l-mail { display: inline-block; justify-self: start; max-width: 100%; font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 5vw, 48px); letter-spacing: -0.02em; word-break: break-word; background-image: linear-gradient(var(--deep), var(--deep)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 4px; padding-bottom: 6px; transition: background-size .3s ease; }
.l-mail:hover { background-size: 100% 100%; color: var(--orange); }
.l-cta .btn-dark { justify-self: start; background: var(--deep); color: var(--white); }
.l-cta .btn-dark:hover { background: var(--ink); }

/* Objevení při posouvání. Třída "js" se přidá až skriptem, bez něj je vše vidět. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .l-card.reveal { transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .25s ease, box-shadow .25s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .l-marquee-track { flex-wrap: wrap; }
  .l-slot.pick, .l-day.live { background: var(--orange); color: var(--deep); }
  .l-toast { opacity: 1; position: static; margin-top: 16px; }
}

/* Doplňkové služby */
.l-subhead { display: flex; align-items: center; gap: 20px; margin: 72px 0 28px; font-family: var(--font-head); font-weight: 600; font-size: 22px; }
.l-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); opacity: .5; }
.l-card.dark { background: var(--ink); color: var(--white); }
.l-card.dark p { color: var(--mist); }
.l-card.dark .l-icon { background: var(--orange); color: var(--deep); }
.l-card.dark:hover .l-icon { background: var(--white); color: var(--orange-ink); }
