/* ============================================
   AI webmistr — prodejní stránka (doplňky k style.css + brand.css)
   ============================================ */

/* --- Hero --- */
.aw-hero {
  padding: calc(var(--nav-height) + 56px) 0 72px;
}

.aw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 380px);
  gap: 48px;
  align-items: center;
}

.aw-hero .hero-title {
  font-size: clamp(38px, 4.6vw, 64px);
}

.aw-hero .hero-subtitle {
  max-width: 560px;
  margin-bottom: 22px;
}

.aw-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.aw-price-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}

.aw-price-strip div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aw-price-strip strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.aw-price-strip span {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Telefon (Telegram) --- */
.aw-phone {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border: 10px solid #0f2f40;
  border-radius: 40px;
  background: #0f2f40;
  box-shadow: 0 30px 60px rgba(18, 72, 99, 0.16);
  overflow: hidden;
}

.aw-phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-radius: 30px 30px 0 0;
}

.aw-phone-back {
  color: var(--text-muted);
  flex: none;
}

.aw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #124863;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
  position: relative;
}

.aw-avatar::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-gold);
  border: 2px solid #fff;
}

.aw-phone-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.aw-phone-status {
  font-size: 12px;
  color: var(--text-muted);
}

.aw-chat {
  height: 560px;
  overflow-y: auto;
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #e4ecef;
  background-image: radial-gradient(rgba(18, 72, 99, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.aw-hero .aw-chat {
  height: 520px;
}

.aw-day {
  align-self: center;
  font-size: 11px;
  color: #fff;
  background: rgba(18, 72, 99, 0.45);
  padding: 3px 10px;
  border-radius: 10px;
  margin: 2px 0 6px;
}

.aw-msg {
  max-width: 84%;
  padding: 8px 11px 6px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #20313a;
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(18, 72, 99, 0.08);
  animation: aw-in 0.28s ease-out both;
}

.aw-msg--me {
  align-self: flex-end;
  background: #124863;
  color: #fff;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}

.aw-msg b,
.aw-msg strong {
  font-weight: 700;
}

.aw-msg p + p {
  margin-top: 6px;
}

.aw-msg-name {
  font-size: 12px;
  font-weight: 700;
  color: #b07f1a;
  margin-bottom: 2px;
}

.aw-msg-name--bot {
  color: #124863;
}

.aw-msg-time {
  font-size: 10.5px;
  color: #7b909a;
  text-align: right;
  margin-top: 2px;
  user-select: none;
}

.aw-msg--me .aw-msg-time {
  color: #b9cfd9;
}

.aw-msg--wide {
  max-width: 92%;
}

@keyframes aw-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Píše… */
.aw-typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
}

.aw-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8aa3ae;
  animation: aw-dot 1s infinite ease-in-out;
}

.aw-typing span:nth-child(2) { animation-delay: 0.15s; }
.aw-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aw-dot {
  0%, 80%, 100% { opacity: 0.3; transform: none; }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* Hlasovka */
.aw-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.aw-voice-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #124863;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.aw-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 24px;
}

.aw-wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.75;
}

.aw-voice-dur {
  font-size: 11.5px;
  opacity: 0.85;
}

.aw-transcript {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  font-style: italic;
  opacity: 0.92;
}

.aw-transcript::before {
  content: 'Přepis: ';
  font-style: normal;
  font-weight: 700;
}

/* Soubor */
.aw-file {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  color: #124863;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex: none;
}

.aw-file-name {
  font-weight: 700;
  font-size: 13px;
}

.aw-file-meta {
  font-size: 11.5px;
  opacity: 0.8;
}

/* Fotky od uživatele */
.aw-photo {
  border-radius: 10px;
  overflow: hidden;
  margin: -2px -5px 6px;
  position: relative;
}

.aw-album {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  margin: -2px -5px 6px;
}

.aw-album div:first-child {
  grid-row: span 2;
}

.aw-album div {
  background-size: cover;
}

/* Náhledy webu v bublině */
.aw-previews {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 4px 0 6px;
}

.aw-prev-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #526b76;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aw-prev {
  flex: 1;
  min-width: 0;
}

.aw-prev--m {
  flex: 0 0 76px;
}

.aw-prev--m2 {
  flex: 1;
  max-width: 120px;
}

.aw-note {
  font-size: 12px;
  color: #526b76;
}

/* Mini web: prohlížeč a telefon */
.ws {
  border: 1px solid #c9d7dd;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  font-size: 7px;
  line-height: 1.35;
  color: #2d3b42;
  font-family: var(--font-body);
}

.ws-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 5px;
  background: #eef2f4;
  border-bottom: 1px solid #dbe4e8;
}

.ws-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c3cfd5;
}

.ws-bar span {
  margin-left: 4px;
  background: #fff;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 6px;
  color: #6c818b;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws--m {
  border-radius: 10px;
  border-width: 3px;
  border-color: #2b3f49;
  font-size: 6px;
}

.ws-top {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-bottom: 1px solid #eef2f4;
}

.ws-top b {
  font-weight: 700;
  margin-right: auto;
  white-space: nowrap;
}

.ws-top i {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: #d6dfe3;
}

.ws-burger {
  width: 8px;
  height: 6px;
  border-top: 1.5px solid #6c818b;
  border-bottom: 1.5px solid #6c818b;
}

.ws-body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-h {
  font-weight: 700;
  font-size: 1.45em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ws-l {
  height: 3px;
  border-radius: 2px;
  background: #e3e9ec;
}

.ws-l--s { width: 60%; }
.ws-l--m { width: 80%; }

.ws-img {
  border-radius: 4px;
  height: 34px;
  background: linear-gradient(135deg, #cfdde3, #e9eff1);
}

.ws-btn {
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 3px;
  background: #124863;
  color: #fff;
  font-weight: 700;
}

.ws-hl {
  outline: 1.5px solid var(--brand-gold);
  outline-offset: 1px;
  border-radius: 3px;
  background: #fbf5e6;
  padding: 2px 3px;
  position: relative;
}

.ws-hl::after {
  content: attr(data-tag);
  position: absolute;
  top: -7px;
  right: 2px;
  background: var(--brand-gold);
  color: #fff;
  font-size: 5px;
  font-weight: 700;
  padding: 0 3px;
  border-radius: 2px;
  line-height: 1.6;
}

.ws-foot {
  background: #f2f5f6;
  padding: 5px 6px;
  border-top: 1px solid #e3e9ec;
}

.ws-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px solid #eef2f4;
}

.ws-row s {
  color: #9aa9b0;
}

.ws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.ws-prod {
  border: 1px solid #e3e9ec;
  border-radius: 3px;
  padding: 3px;
  position: relative;
}

.ws-prod .ws-img {
  height: 18px;
  background: linear-gradient(135deg, #f1e3c4, #f8f1e1);
}

.ws-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: #b6452c;
  color: #fff;
  font-weight: 700;
  font-size: 5px;
  padding: 0 2px;
  border-radius: 2px;
}

.ws-strip {
  background: #124863;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 3px;
}

.ws-gold {
  background: var(--brand-gold);
}

/* Rozsypaný mobil ze screenshotu */
.ws-broken {
  position: relative;
  height: 22px;
}

.ws-broken .ws-btn {
  position: absolute;
  left: 4px;
  top: 4px;
}

.ws-broken em {
  position: absolute;
  left: 12px;
  top: 8px;
  font-style: normal;
  color: #6c818b;
}

/* --- Způsoby komunikace --- */
.aw-modes {
  padding: 88px 0;
}

.aw-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aw-mode {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.aw-mode-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e1ebef;
  color: #124863;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.aw-mode h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.aw-mode p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.aw-mode q {
  quotes: '„' '“';
  color: var(--text-primary);
}

.aw-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.aw-cmds code {
  font-family: var(--font-body);
  font-size: 13px;
  background: #124863;
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
}

/* --- Ukázky (taby + telefon) --- */
.aw-demos {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aw-demos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 48px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.aw-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-tab {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 14px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.aw-tab:hover {
  border-color: #91acb8;
}

.aw-tab[aria-selected='true'] {
  background: #124863;
  border-color: #124863;
  color: #fff;
}

.aw-tab-num {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e1ebef;
  color: #124863;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.aw-tab[aria-selected='true'] .aw-tab-num {
  background: var(--brand-gold);
  color: #fff;
}

.aw-tab-title {
  font-weight: 700;
  font-size: 15px;
}

.aw-tab-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.aw-tab[aria-selected='true'] .aw-tab-desc {
  color: #d3e1e7;
}

.aw-demo-stage {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.aw-replay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  padding: 0 12px;
}

.aw-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Postup --- */
.aw-flow {
  padding: 96px 0;
}

.aw-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: aw-step;
}

.aw-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  counter-increment: aw-step;
}

.aw-step::before {
  content: counter(aw-step, decimal-leading-zero);
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.aw-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.aw-step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.aw-step--key {
  background: #124863;
  border-color: #124863;
}

.aw-step--key h3 {
  color: #fff;
}

.aw-step--key p {
  color: #d3e1e7;
}

/* --- Funkce --- */
.aw-features {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aw-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aw-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.aw-feature h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.aw-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Integrace --- */
.aw-integrations {
  padding: 96px 0;
}

.aw-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aw-int {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
}

.aw-int h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.aw-int > p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.aw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aw-chips span {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #f6f5f0;
  color: #365968;
}

.aw-chips span.is-ask {
  border-style: dashed;
  background: transparent;
}

.aw-int-legend {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.aw-int-legend span {
  display: inline-block;
  width: 22px;
  height: 12px;
  border-radius: 100px;
  vertical-align: middle;
  margin: 0 6px 0 14px;
  border: 1px solid var(--border);
  background: #f6f5f0;
}

.aw-int-legend span.is-ask {
  border-style: dashed;
  background: transparent;
}

/* --- Pojistky + hranice --- */
.aw-safety {
  padding: 96px 0;
  background: #e1ebef;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aw-safety-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.aw-safe {
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  border: 1px solid var(--border);
}

.aw-safe svg {
  color: #124863;
  margin-bottom: 10px;
}

.aw-safe h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.aw-safe p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.aw-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.aw-scope > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
}

.aw-scope h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.aw-scope ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-scope li {
  font-size: 14.5px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}

.aw-scope li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #124863;
  font-weight: 700;
}

.aw-scope .aw-scope-no li::before {
  content: '→';
  color: var(--brand-gold);
}

.aw-scope-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* --- Cena --- */
.aw-pricing .aia-pricing-card--monthly {
  background: #124863;
  border-color: #124863;
}

.aw-pricing .aia-pricing-card--monthly h3,
.aw-pricing .aia-pricing-card--monthly .aia-pricing-price,
.aw-pricing .aia-pricing-card--monthly li {
  color: #fff;
}

.aw-pricing .aia-pricing-card--monthly .aia-pricing-price span,
.aw-pricing .aia-pricing-card--monthly .aia-pricing-note {
  color: #d3e1e7;
}

.aw-pricing .aia-pricing-card--monthly li::before {
  color: var(--brand-gold);
}

.aw-pricing .aia-pricing-price {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.aw-vat {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: -28px 0 40px;
}

.aw-pricing .aia-comparison-value {
  font-weight: 700;
}

.aw-pricing .aia-comparison-value--old {
  text-decoration: none;
}

/* --- Hero poznámka, průběžná výzva --- */
.aw-hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: -12px 0 24px;
}

.aw-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.aw-inline-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
}

.aw-inline-cta strong {
  color: var(--text-primary);
}

/* --- Srovnání ceny a záruky --- */
.aw-compare,
.aw-guarantee {
  max-width: 760px;
  margin: 0 auto;
}

.aw-compare h3,
.aw-guarantee h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.aw-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aw-compare-col {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.aw-compare-col--new {
  border-color: #124863;
  box-shadow: inset 0 0 0 1px #124863;
}

.aw-compare-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.aw-compare-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.aw-compare-col--new .aw-compare-value {
  color: #124863;
}

.aw-compare-col p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.aw-compare-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.aw-guarantee {
  margin-top: 56px;
}

.aw-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aw-guarantee-grid div {
  padding: 20px 22px;
  border-top: 2px solid var(--brand-gold);
  background: var(--bg-card);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.aw-guarantee-grid strong {
  display: block;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.aw-guarantee-grid p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .aw-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .aw-compare-grid,
  .aw-guarantee-grid {
    grid-template-columns: 1fr;
  }
}

/* Tři bolesti vedle sebe (výchozí mřížka má dva sloupce) */
.offer-problem .offer-pain-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .offer-problem .offer-pain-grid {
    grid-template-columns: 1fr;
  }

  .aw-steps,
  .aw-safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aw-features-grid,
  .aw-int-grid,
  .aw-modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .aw-hero-grid,
  .aw-demos-grid {
    grid-template-columns: 1fr;
  }

  .aw-demo-stage {
    position: static;
    order: -1;
  }

  .aw-tabs {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .aw-tab {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
    grid-template-columns: 28px auto;
    padding: 10px 14px;
  }

  .aw-tab-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
    grid-row: auto;
  }

  .aw-tab-desc {
    display: none;
  }

  .aw-scope {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .aw-steps,
  .aw-safety-grid,
  .aw-features-grid,
  .aw-int-grid,
  .aw-modes-grid {
    grid-template-columns: 1fr;
  }

  .aw-chat,
  .aw-hero .aw-chat {
    height: 480px;
  }

  .aw-phone {
    border-width: 7px;
    border-radius: 32px;
  }

  .aw-phone-head {
    border-radius: 25px 25px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aw-msg,
  .aw-typing span {
    animation: none;
  }

  .aw-chat {
    scroll-behavior: auto;
  }
}

/* --- Hero: tři kroky --- */
.aw-hero-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  max-width: 560px;
}

.aw-hero-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-primary);
}

.aw-hero-steps span {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #124863;
}

.aw-hero-steps q {
  font-style: italic;
  color: var(--text-secondary);
}
