/* latin-ext: háčky/čárky (č, ř, š, ž, ę, ő, ț, ș…) */
@font-face { font-family: 'Titillium Web'; font-weight: 400; font-style: normal; src: url('/fonts/titillium-400-latinext.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 600; font-style: normal; src: url('/fonts/titillium-600-latinext.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 700; font-style: normal; src: url('/fonts/titillium-700-latinext.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 900; font-style: normal; src: url('/fonts/titillium-900-latinext.woff2') format('woff2'); font-display: swap; 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; }

/* latin: základní písmena, Á/É/Í/Ó/Ú/Ý, interpunkce včetně pomlčky „—" */
@font-face { font-family: 'Titillium Web'; font-weight: 400; font-style: normal; src: url('/fonts/titillium-400-latin.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 600; font-style: normal; src: url('/fonts/titillium-600-latin.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 700; font-style: normal; src: url('/fonts/titillium-700-latin.woff2') format('woff2'); font-display: swap; 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: 'Titillium Web'; font-weight: 900; font-style: normal; src: url('/fonts/titillium-900-latin.woff2') format('woff2'); font-display: swap; 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; }

/* Nadpisy — stejně jako na hopifoodbroker.eu */
@font-face {
  font-family: 'Tusker Grotesk';
  src: url('/fonts/TuskerGrotesk-4500Medium.otf') format('opentype'),
       local('Tusker Grotesk 4500 Medium'), local('TuskerGrotesk-4500Medium');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green:      #007d32;
  --green-mid:  #005c24;
  --green-deep: #003d18;
  --lime:       #95c11f;
  --lime-soft:  #b8da50;
  --white:      #ffffff;
  --off-white:  #f4f9f1;
  --glass-bg:     rgba(255,255,255,0.72);
  --glass-border: rgba(0,125,50,0.14);
  --glass-shadow: 0 8px 32px rgba(0,80,30,0.10);
  --text-body:  #1a3322;
  --text-muted: #4a7060;
  --text-dark:  #0b1f0f;
  --error: #c1440e;
  --radius:    20px;
  --radius-lg: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Titillium Web', sans-serif;
  background: var(--white);
  color: var(--text-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%,   rgba(220,242,225,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 80%  80% at 100% 40%, rgba(210,238,218,0.5) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 40% 100%, rgba(205,235,215,0.45) 0%, transparent 55%);
}
.blob { position: fixed; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none; animation: blobFloat 16s ease-in-out infinite alternate; }
.blob-1 { width:700px; height:700px; background:rgba(0,125,50,0.07);  top:-250px; left:-200px; }
.blob-2 { width:500px; height:500px; background:rgba(149,193,31,0.06); top:25%; right:-150px; animation-delay:-5s; }
.blob-3 { width:600px; height:600px; background:rgba(0,93,36,0.05);   bottom:-200px; left:15%; animation-delay:-9s; }
@keyframes blobFloat { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px,-40px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
}
@media (max-width: 600px) {
  .topbar { padding: 12px 14px; gap: 10px; }
  .lang-select { font-size: 0.75rem; padding: 6px 24px 6px 10px; background-size: 12px; background-position: right 8px center; }
}
/* Pevný box + object-fit: contain — loga mají velmi odlišný poměr stran
   (HOPI Supply Chain 9,2:1 vs eHOPI 1:1), takže fixní výška bez omezení šířky
   by na úzkých mobilech přetekla hlavičku (viz HOPI Supply Chain ~239px při 26px výšky). */
.brand-logo {
  height: 26px; width: 160px;
  object-fit: contain; object-position: left center;
  display: block; flex-shrink: 0;
}
.brand-logo[src="/logo-fish-hub.svg"], .brand-logo[src="/logo-ehopi.svg"] { height: 44px; width: 44px; }
@media (max-width: 600px) {
  .brand-logo { height: 22px; width: 100px; }
}
.progress-track { flex: 1; height: 6px; border-radius: 100px; background: rgba(0,125,50,0.1); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 100px; transition: width 0.4s ease; }

.lang-select {
  flex-shrink: 0;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-body);
  background-color: rgba(0,125,50,0.06);
  border: 1.5px solid rgba(0,125,50,0.2);
  border-radius: 100px;
  padding: 7px 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23007d32' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 30px;
}
.lang-select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(149,193,31,0.15); outline: none; }

.stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px 20px; }

.step {
  width: 100%; max-width: 620px;
}
.step.animate-in { animation: stepIn 0.45s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step.animate-in { animation: none; } }

.step-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.step-eyebrow::before { content: ''; width: 16px; height: 2px; background: var(--lime); display: inline-block; }

.step h1 {
  font-family: 'Tusker Grotesk', 'Titillium Web', sans-serif;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 8px; color: var(--text-body);
}
.step .step-desc { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 28px; line-height: 1.55; max-width: 520px; }
.step h1 .accent, .gate-panel h1 .accent { color: var(--lime); }

.field-group { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.field label .required-mark { color: var(--green); font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field textarea {
  border-radius: var(--radius);
  border: 1.5px solid rgba(0,125,50,0.25);
  background: rgba(255,255,255,0.85);
  font-family: 'Titillium Web', sans-serif;
  font-size: 1rem;
  color: var(--text-body);
  padding: 13px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(149,193,31,0.15);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { font-size: 0.78rem; color: var(--error); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid.single-col { grid-template-columns: 1fr; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }

.choice-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  font-family: 'Titillium Web', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.choice-card .hint { font-size: 0.76rem; font-weight: 400; color: var(--text-muted); display: block; margin-top: 2px; }
.choice-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,60,20,0.10); border-color: rgba(0,125,50,0.35); }
.choice-card.selected {
  background-color: rgba(149,193,31,0.16);
  border-color: var(--lime);
  box-shadow: 0 4px 20px rgba(149,193,31,0.25);
}
.choice-card .check {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(0,125,50,0.3);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.choice-card.selected .check { background: var(--lime); border-color: var(--lime); }
.choice-card.selected .check::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text-dark); }

.gate-panel {
  background: linear-gradient(160deg, var(--green-deep), #001f0c);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  color: #fff;
}
.gate-panel .step-eyebrow { color: var(--lime-soft); }
.gate-panel h1 { color: #fff; }
.gate-panel .step-desc { color: rgba(255,255,255,0.72); }
.gate-panel .choice-card { background-color: rgba(255,255,255,0.06); border-color: rgba(149,193,31,0.25); color: #fff; }
.gate-panel .choice-card:hover { border-color: var(--lime); }
.gate-panel .choice-card.selected { background-color: rgba(149,193,31,0.22); }

.statement-note {
  font-size: 0.85rem; color: var(--text-muted); font-style: italic;
  border-left: 3px solid var(--lime); padding: 10px 16px; border-radius: 0 12px 12px 0;
  background: rgba(149,193,31,0.06); margin-bottom: 4px;
}

.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px; background: rgba(149,193,31,0.18); color: var(--green); margin-bottom: 14px;
}

.bottombar {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  border-top: 1px solid var(--glass-border);
}
@media (max-width: 600px) {
  /* Delší popisky ("Odeslat poptávku") by se s plným paddingem na úzkém displeji
     nevešly vedle sebe a tlačítko pro odeslání by mohlo být mimo obrazovku. */
  .bottombar { padding: 12px 14px; gap: 8px; }
  .btn { padding: 10px 16px; font-size: 0.85rem; }
  .step-indicator { display: none; }
}
.step-indicator { font-size: 0.8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 100px;
  font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.25s ease; border: none;
}
.btn-primary { background: var(--lime); color: var(--text-dark); box-shadow: 0 4px 20px rgba(149,193,31,0.4); }
.btn-primary:hover { background: var(--lime-soft); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(149,193,31,0.55); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--text-body); border: 1.5px solid rgba(0,125,50,0.3); }
.btn-outline:hover { background: rgba(0,125,50,0.06); border-color: var(--green); transform: translateY(-2px); }
.btn-outline:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-skip {
  background: var(--lime);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(149,193,31,0.5), 0 4px 12px rgba(149,193,31,0.35);
  animation: skipFloat 2.4s ease-in-out infinite;
}
.btn-skip:hover {
  background: var(--lime-soft);
  animation-play-state: paused;
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(149,193,31,0.6), 0 8px 16px rgba(149,193,31,0.4);
}
@keyframes skipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) { .btn-skip { animation: none; } }

.skip-row { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--glass-border); text-align: center; }

.done-screen { text-align: center; }
.done-screen .icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(149,193,31,0.18); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.done-screen .icon svg { width: 28px; height: 28px; color: var(--green); }
.done-back-row { margin-top: 32px; }

.error-banner {
  background: rgba(193,68,14,0.08); border: 1px solid rgba(193,68,14,0.3); color: var(--error);
  border-radius: var(--radius); padding: 12px 18px; font-size: 0.88rem; margin-bottom: 18px;
}

:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
