/* Teplotní a vlhkostní mapy – GrapeNet s.r.o. */
@font-face {
  font-family: "Aventa";
  src: url("../assets/fonts/Aventa-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Aventa";
  src: url("../assets/fonts/Aventa-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Aventa";
  src: url("../assets/fonts/Aventa-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
html { scroll-behavior: smooth; }
body { margin: 0; accent-color: #EB5D0B; }
a { color: #B04607; }
a:hover { color: #2D2C35; }
.sec { scroll-margin-top: 110px; }
.navl { color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 4px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.navl:hover { color: #F9C79E; border-bottom-color: #EB5D0B; }
.hdr { background: rgba(45,44,53,.92); backdrop-filter: blur(10px); }
@keyframes hdr {
  from { background-color: rgba(45,44,53,0); backdrop-filter: blur(0px); }
  to { background-color: rgba(45,44,53,.94); backdrop-filter: blur(10px); }
}
@supports (animation-timeline: scroll()) {
  .hdr { animation: hdr linear both; animation-timeline: scroll(); animation-range: 0px 220px; }
}
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,44,53,.22); }
.btn:focus-visible, .chip:focus-visible, .navl:focus-visible, .lnk:focus-visible { outline: 3px solid #F2954E; outline-offset: 3px; }
.btn-o:hover { background-color: #D4520A; color: #FFFFFF; }
.btn-d:hover { background-color: #45434F; color: #FFFFFF; }
.lnk { color: #FFFFFF; }
.lnk:hover { color: #F9C79E; }
.flnk { color: #D9D9DE; text-decoration: none; }
.flnk:hover { color: #F2954E; }
.chip { cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.chip:hover { transform: translateY(-1px); }
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(45,44,53,.12); border-color: #EB5D0B; }
.card .blob { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .blob { transform: scale(1.55); }
.cardl { color: #B04607; text-decoration: none; font-weight: 700; }
.cardl:hover { color: #2D2C35; }
.fi { width: 100%; box-sizing: border-box; min-height: 50px; padding: 13px 16px; border: 1px solid #8A8A96; border-radius: 12px; background: #FFFFFF; color: #2D2C35; font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.fi:focus { outline: none; border-color: #EB5D0B; box-shadow: 0 0 0 4px rgba(235,93,11,.22); }
.row:hover { background: #FBF1EA; }

@keyframes up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes dot {
  0%, 100% { transform: scale(.72); opacity: .8; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ring {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(3.4); opacity: 0; }
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(34px, -26px); }
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes run {
  from { left: 0%; }
  to { left: 100%; }
}
@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .in1 { animation: up .8s cubic-bezier(.2,.7,.2,1) both; }
  .in2 { animation: up .8s .12s cubic-bezier(.2,.7,.2,1) both; }
  .in3 { animation: up .8s .24s cubic-bezier(.2,.7,.2,1) both; }
  .in4 { animation: up .9s .36s cubic-bezier(.2,.7,.2,1) both; }
  .hd { animation: dot 4.2s ease-in-out infinite; }
  .ring { animation: ring 2.6s ease-out infinite; }
  .drift { animation: drift 16s ease-in-out infinite alternate; }
  .tick { animation: tick 38s linear infinite; }
  .run { animation: run 7s linear infinite; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .wipe { animation: wipe linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  }
}
.mbtn { display: none; }
.mpanel { display: none; }
@media (max-width: 820px) {
  .navlinks { display: none !important; }
  .mbtn { display: inline-flex; }
  .mpanel { display: flex; }
}
@media (max-width: 640px) {
  .hdr { height: 84px !important; margin-bottom: -84px !important; }
  .hdri { padding: 0 16px !important; gap: 12px !important; }
  .hcta { padding: 0 18px !important; min-height: 48px !important; }
  .heroi { padding: 116px 16px 64px !important; gap: 40px !important; }
  .ctarow { flex-direction: column; align-self: stretch; align-items: stretch !important; gap: 8px !important; }
  .ctarow .lnk { text-align: center; }
  .wfull { width: 100%; box-sizing: border-box; justify-content: center; }
  .pad-m { padding: 16px !important; border-radius: 20px !important; gap: 18px !important; }
  .slab { font-size: 11px !important; padding: 2px 5px !important; top: 10px !important; }
  .hstats { gap: 16px !important; width: 100%; justify-content: space-between; }
  .tick { font-size: 17px !important; gap: 32px !important; padding-left: 32px !important; }
  .seci { padding: 64px 16px !important; gap: 36px !important; }
  .card { min-height: 0 !important; padding: 24px !important; }
  .panel { border-radius: 20px !important; padding: 12px !important; gap: 16px !important; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .kt { padding: 14px !important; }
  .kv { font-size: 24px !important; }
  .dcard { padding: 16px !important; }
  .mh { display: none !important; }
  .tbl { min-width: 0 !important; }
  .trow { grid-template-columns: 34px minmax(0, 1fr) auto !important; gap: 6px 10px !important; padding: 12px 16px !important; }
  .c-st { grid-column: 1 / -1; }
  .formbox { border-radius: 20px !important; padding: 20px 16px !important; }
  .segw { border-radius: 26px !important; align-self: stretch !important; }
  .segw button { flex: 1 1 100%; }
  .sum { position: relative !important; top: auto !important; padding: 24px !important; border-radius: 20px !important; }
  .footi { padding: 56px 16px 32px !important; gap: 36px !important; }
}

/* --- doplňky samostatné verze --- */
.if { display: contents; }
.if[hidden] { display: none; }
.chip[aria-pressed="true"] { background: #2D2C35 !important; color: #FFFFFF !important; }
