/* Vizitka Tomáš Kužela · money2u. Vzhled převzatý z tomasvasicek.cz (přání klienta). */

/* Písma z vlastní domény (Google Fonts blokovala vykreslení) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-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: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/poppins-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/poppins-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;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #99C6C3;
  --teal-dark: #2D7A76;
  --navy: #0D1F3A;
  --white: #ffffff;
  --cream: #F7F5F0;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-pop: 'Poppins', 'Plus Jakarta Sans', sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
/* na tyrkysovém pozadí je tyrkysový rámeček málo vidět */
#stats :focus-visible, #services :focus-visible, #contact :focus-visible, .flip-card:focus-visible { outline-color: var(--navy); }
h2, .hero-name, .why-title { text-wrap: balance; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--teal); color: var(--navy); font-weight: 700;
  padding: 10px 18px; border-radius: 50px; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Tlačítka ---------- */
.btn-teal, .btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-main); font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: scale(1.03); box-shadow: 0 0 20px rgba(153,198,195,0.5); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: scale(1.03); box-shadow: 0 0 20px rgba(255,255,255,0.2); }

/* ---------- Postupné odkrývání ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.js .rv.visible { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }

/* ---------- Navigace ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 40px;
  transition: background .3s, box-shadow .3s, padding .3s;
}
#nav.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(13,31,58,.08); padding: 12px 40px; }
.nav-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-main); font-weight: 800; font-size: 24px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); transition: color .3s;
}
#nav.scrolled .nav-logo { color: var(--teal-dark); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); transition: color .3s; }
.nav-links a:hover { color: var(--white); }
#nav.scrolled .nav-links a { color: var(--navy); }
#nav.scrolled .nav-links a:hover { color: var(--teal-dark); }
.nav-links .nav-cta, #nav.scrolled .nav-links .nav-cta {
  background: var(--teal); color: var(--navy);
  padding: 10px 22px; border-radius: 50px; font-weight: 700;
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.nav-links .nav-cta:hover, #nav.scrolled .nav-links .nav-cta:hover { background: var(--teal-dark); color: var(--white); transform: scale(1.03); box-shadow: 0 0 16px rgba(153,198,195,0.5); }

.ham {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: 0; padding: 10px; margin: -10px; position: relative; z-index: 1001;
}
.ham span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s, background .3s; border-radius: 2px; }
#nav.scrolled .ham span { background: var(--navy); }
.ham[aria-expanded="true"] span { background: var(--white); }
.ham[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ham[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--navy); flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mob-nav.open { display: flex; }
.mob-nav a { font-size: 24px; font-weight: 700; color: var(--white); }
.mob-nav a:hover { color: var(--teal); }
.mob-nav .mob-cta { margin-top: 8px; padding: 14px 36px; background: var(--teal); color: var(--navy); border-radius: 50px; font-size: 18px; }
.mob-nav .mob-tel { font-size: 16px; font-weight: 600; color: var(--teal); }
body.menu-open { overflow: hidden; }
body.menu-open #nav, body.menu-open #nav.scrolled { background: transparent; box-shadow: none; }
body.menu-open #nav .nav-logo { color: var(--white); }

/* ---------- Úvod ---------- */
#hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; overflow: hidden; padding-bottom: 100px;
  background: #6a6866;
}
.hero-bg {
  position: absolute; inset: -40px 0 0; z-index: 0;
  background: url('assets/tomas-kuzela-uvod-1600.webp') center 30%/cover no-repeat;
  will-change: transform;
}
@media (min-width: 1601px) {
  .hero-bg { background-image: url('assets/tomas-kuzela-uvod-2560.webp'); }
}
@media (min-width: 769px) and (orientation: portrait) {
  .hero-bg { background-image: url('assets/tomas-kuzela-uvod-tablet-1640.webp'); background-position: 62% 0; }
}
@media (max-width: 768px) and (orientation: portrait) {
  .hero-bg { background-image: url('assets/tomas-kuzela-uvod-mobil-1100.webp'); background-position: 62% 0; }
}
@media (max-width: 480px) and (orientation: portrait) {
  .hero-bg { background-image: url('assets/tomas-kuzela-uvod-mobil-700.webp'); }
}
.hero-overlay { position: absolute; inset: 0; background: rgba(13,31,58,0.62); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 32px; }
.hero-name {
  font-size: clamp(56px,10vw,120px); font-weight: 900;
  color: #fff; line-height: .95; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hw {
  display: block; line-height: .95; margin-bottom: 0.15em;
  opacity: 0; transform: translateY(60px);
  animation: hwIn 0.7s cubic-bezier(.22,1,.36,1) forwards;
}
.hw:nth-child(1) { animation-delay: .3s; }
.hw:nth-child(2) { animation-delay: .6s; }
@keyframes hwIn { to { opacity: 1; transform: translateY(0); } }
/* titul Bc. visí vlevo od jména, aby jméno zůstalo na středu */
.hero-jmeno { position: relative; display: inline-block; }
.hero-titul {
  position: absolute; right: 100%; bottom: .1em; margin-right: .22em;
  font-size: .34em; font-weight: 800; letter-spacing: 0; line-height: 1;
  color: var(--teal); text-transform: none;
}
.hero-sub {
  font-size: 16px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 48px;
  opacity: 0; animation: heroFadeUp .6s 1.1s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: heroFadeUp .6s 1.3s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Čísla ---------- */
#stats { background: var(--teal); padding: 60px 40px; }
.stats-row { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; text-align: center; }
.stat-num {
  font-family: var(--font-pop); font-weight: 900;
  font-size: clamp(52px, 7vw, 80px); letter-spacing: -0.03em;
  color: var(--navy); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-weight: 600; font-size: 14px; color: var(--navy); margin: 10px auto 0; opacity: 0.8; max-width: 220px; line-height: 1.45; }

/* ---------- Proč já ---------- */
#why { background: var(--cream); padding: 100px 40px; }
.why-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow,
.svc-head .section-eyebrow, .about-content .section-eyebrow, .process-head .section-eyebrow, .contact-head .section-eyebrow {
  font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 12px;
}
.why-title { font-weight: 800; font-size: clamp(32px,5vw,56px); line-height: 1.2; color: var(--navy); margin-bottom: 20px; }
.why-sub { font-size: 17px; line-height: 1.6; color: #4a5568; max-width: 600px; margin-bottom: 48px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card { background: var(--navy); border-radius: 24px; padding: 40px; transition: transform .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(153,198,195,0.35); }
.why-num { font-family: var(--font-pop); font-weight: 900; font-size: 80px; line-height: 1; color: var(--teal); margin-bottom: 16px; opacity: 0.9; }
.why-card h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ---------- Služby (otáčecí karty) ---------- */
#services { background: var(--teal); padding: 100px 40px; }
.svc-inner { max-width: 1200px; margin: 0 auto; }
.svc-head { text-align: center; margin-bottom: 56px; }
#services .svc-head .section-eyebrow { color: var(--navy); }
.svc-head h2 { font-weight: 800; font-size: clamp(32px,5vw,56px); line-height: 1.2; color: var(--navy); margin-bottom: 16px; }
.svc-head p { font-size: 17px; line-height: 1.6; color: rgba(13,31,58,0.75); max-width: 560px; margin: 0 auto; }
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.flip-card { position: relative; perspective: 900px; min-height: 320px; cursor: pointer; border-radius: 20px; }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column;
  -webkit-backface-visibility: hidden;   /* Safari na iPadu bez prefixu ukazoval rub zrcadlově */
  backface-visibility: hidden;
  transform: rotateY(0deg);
  /* strana se přepne v půlce otočky, takže rub není vidět zrcadlově ani tam, kde backface-visibility nefunguje */
  transition: transform .6s cubic-bezier(.4,.2,.2,1), opacity 0s linear .3s;
}
.flip-front { background: var(--white); align-items: flex-start; justify-content: center; gap: 16px; }
.flip-front svg { flex-shrink: 0; width: 40px; height: 40px; stroke: var(--teal-dark); }
.flip-front h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.flip-front p { font-size: 14px; line-height: 1.55; color: #5a6473; }
.flip-hint { font-size: 12px; font-weight: 700; color: var(--teal-dark); letter-spacing: 0.08em; text-transform: uppercase; margin-top: auto; }
.flip-back { background: var(--navy); transform: rotateY(180deg); opacity: 0; justify-content: center; gap: 14px; pointer-events: none; }
.flip-back .flip-title { font-size: 20px; font-weight: 700; color: var(--teal); }
.flip-back ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.flip-back li { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.85); padding-left: 16px; position: relative; }
.flip-back li::before { content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.flip-back-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--teal); font-weight: 700; font-size: 13px; transition: gap .2s; }
.flip-back-cta:hover { gap: 12px; }
.flip-back-cta svg { stroke: var(--teal); }
@media (hover: hover) {
  .flip-card:hover .flip-front { transform: rotateY(-180deg); opacity: 0; pointer-events: none; }
  .flip-card:hover .flip-back { transform: rotateY(0); opacity: 1; pointer-events: auto; }
}
.flip-card.flipped .flip-front, .flip-card:has(.flip-back-cta:focus-visible) .flip-front { transform: rotateY(-180deg); opacity: 0; pointer-events: none; }
.flip-card.flipped .flip-back, .flip-card:has(.flip-back-cta:focus-visible) .flip-back { transform: rotateY(0); opacity: 1; pointer-events: auto; }
.touch .flip-hint .hint-desk { display: none; }
.flip-hint .hint-touch { display: none; }
.touch .flip-hint .hint-touch { display: inline; }

/* ---------- O mně ---------- */
#about { background: var(--navy); padding: 100px 40px; }
.about-inner { max-width: 1100px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 72px; align-items: center; justify-content: center; }
.about-photo-wrap img {
  width: 100%; height: auto; border-radius: 24px;
  border: 4px solid var(--teal);
  object-fit: cover; aspect-ratio: 3/4;   /* bez max-height, jinak rámeček na počítači uřízne hlavu */
  background: #8a8886;
}
#about .about-content .section-eyebrow { color: var(--teal); }
.about-content h2 { font-weight: 800; font-size: clamp(28px,4vw,44px); color: var(--white); margin-bottom: 24px; line-height: 1.2; }
.about-content p { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 1.8; margin-bottom: 16px; }
.about-content .about-quote {
  font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--white);
  border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; margin: 24px 0;
}
.about-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about-btns a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--navy);
  padding: 12px 22px; border-radius: 50px; font-weight: 700; font-size: 14px;
  transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}
.about-btns a:hover { background: var(--teal-dark); color: var(--white); transform: scale(1.03); box-shadow: 0 0 18px rgba(153,198,195,0.4); }

/* ---------- Průběh ---------- */
#process { background: var(--cream); padding: 100px 40px; }
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-head { text-align: center; margin-bottom: 72px; }
.process-head h2 { font-weight: 800; font-size: clamp(30px,5vw,52px); line-height: 1.2; color: var(--navy); margin-bottom: 16px; }
.process-head p { font-size: 17px; color: #5a6473; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; }
.process-track::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 3px; background: rgba(153,198,195,0.3); }
.process-line { position: absolute; top: 36px; left: 12.5%; height: 3px; background: var(--teal); z-index: 1; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.process-line.animated { width: 75%; }
.no-js .process-line { width: 75%; }
.proc-step { text-align: center; padding: 0 20px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.proc-num {
  font-family: var(--font-pop); font-weight: 900; font-size: 28px; color: var(--teal-dark); line-height: 1;
  width: 72px; height: 72px; background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--teal);
}
.proc-step h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.proc-step p { font-size: 14px; color: #5a6473; line-height: 1.6; }

/* ---------- Kontakt ---------- */
#contact { background: var(--teal); padding: 100px 40px; }
.contact-inner { max-width: 1100px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 56px; }
#contact .contact-head .section-eyebrow { color: var(--navy); }
.contact-head h2 { font-weight: 800; font-size: clamp(30px,5vw,52px); line-height: 1.2; color: var(--navy); margin-bottom: 16px; }
.contact-head p { font-size: 17px; color: rgba(13,31,58,0.75); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; position: relative; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--navy); color: var(--white);
  border: 2px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 14px 18px; font-family: var(--font-main); font-size: 16px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--white); box-shadow: 0 0 0 4px rgba(13,31,58,0.25); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.contact-form button {
  background: var(--navy); color: var(--white); border: none; border-radius: 50px;
  padding: 16px 32px; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s; align-self: flex-start;
}
.contact-form button:hover { background: #162c50; transform: scale(1.03); box-shadow: 0 6px 24px rgba(13,31,58,0.3); }
.contact-form button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-privacy { font-size: 13px; line-height: 1.5; color: rgba(13,31,58,0.85); }
.form-note { font-size: 15px; font-weight: 700; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.55); }
.form-note:empty { padding: 0; background: none; }
.form-note[data-type="ok"] { color: #135c3a; }
.form-note[data-type="error"] { color: #9b1c1c; }
.form-note[data-type="info"] { color: var(--navy); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(13,31,58,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { stroke: var(--navy); }
.contact-info-label { font-weight: 700; color: var(--navy); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: rgba(13,31,58,0.85); line-height: 1.55; }
.contact-info-value a { text-decoration: underline; text-decoration-color: rgba(13,31,58,.3); text-underline-offset: 3px; }
.contact-info-value a:hover { text-decoration-color: var(--navy); }
.contact-social { display: flex; gap: 12px; margin-top: 4px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); transition: background .2s, transform .2s; }
.social-link:hover { background: var(--teal-dark); transform: scale(1.08); }

/* ---------- Galerie money2u ---------- */
#carousel { width: 100%; overflow: hidden; background: #f5f5f5; }
.carousel-wrap { position: relative; width: 100%; overflow: hidden; touch-action: pan-y; }
.carousel-slides { display: flex; transition: transform .8s cubic-bezier(.77,0,.175,1); will-change: transform; }
.carousel-slide { flex-shrink: 0; width: 100%; line-height: 0; }
.carousel-slide img { width: 100%; height: auto; aspect-ratio: 1920/632; object-fit: cover; background: #f5f5f5; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.cdot { width: 26px; height: 26px; border: none; cursor: pointer; padding: 0; background: transparent; display: grid; place-items: center; }
.cdot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(13,31,58,.25); transition: background .2s, transform .2s; }
.cdot[aria-current="true"]::before { background: #fff; transform: scale(1.3); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); border: none; color: #fff; font-size: 36px; width: 48px; height: 64px; cursor: pointer; z-index: 10; transition: background .2s; line-height: 1; }
.carousel-btn:hover { background: rgba(0,0,0,.6); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* ---------- Patička ---------- */
footer { background: var(--navy); padding: 56px 48px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.footer-logo .fl1 { color: #fff; }
.footer-logo .fl2 { color: var(--teal); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 8px; font-weight: 500; }
.f-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; align-items: center; }
.f-nav a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); transition: color .2s; }
.f-nav a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy, .footer-legal { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .flip-card { min-height: 320px; }
}
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap { max-width: 460px; }
  .process-track { grid-template-columns: repeat(2,1fr); gap: 40px 0; }
  .process-track::before, .process-line { display: none; }
}
@media (max-width: 768px) {
  #nav { padding: 16px 24px; }
  #nav.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .ham { display: flex; }
  #hero { padding-bottom: 72px; }
  .why-cards { grid-template-columns: 1fr; }
  .why-card { padding: 32px 28px; }
  .svc-grid { grid-template-columns: 1fr; }
  .flip-card { min-height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .f-nav { gap: 12px 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .carousel-btn { width: 36px; height: 48px; font-size: 28px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { bottom: 6px; }
}
@media (max-width: 480px) {
  #stats, #why, #services, #about, #process, #contact { padding: 72px 20px; }
  footer { padding: 48px 20px 32px; }
  .hero-content { padding: 0 20px; }
  .hero-sub { font-size: 14px; letter-spacing: .12em; margin-bottom: 36px; }
  .process-track { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
