/* Highway Hop - Home Page Styles */

/* Hero Section */
.hhp-91-hero {
  background: linear-gradient(135deg, var(--hhp-91-linen) 0%, var(--hhp-91-ivory) 100%);
  padding: var(--hhp-91-space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hhp-91-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(245, 158, 11, 0.05) 20px,
    rgba(245, 158, 11, 0.05) 40px
  );
  pointer-events: none;
}

.hhp-91-hero-content {
  position: relative;
  z-index: 1;
}

.hhp-91-hero h1 {
  margin-bottom: var(--hhp-91-space-md);
  background: linear-gradient(135deg, var(--hhp-91-teal), var(--hhp-91-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hhp-91-hero-subtitle {
  font-size: 1.25rem;
  color: var(--hhp-91-gray-medium);
  margin-bottom: var(--hhp-91-space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Pace Selector Chips */
.hhp-91-pace-chips {
  display: flex;
  justify-content: center;
  gap: var(--hhp-91-space-md);
  margin: var(--hhp-91-space-xl) 0;
  flex-wrap: wrap;
}

.hhp-91-pace-chip {
  padding: var(--hhp-91-space-sm) var(--hhp-91-space-lg);
  border-radius: var(--hhp-91-radius-full);
  font-weight: 600;
  transition: var(--hhp-91-transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.hhp-91-pace-chip:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--hhp-91-shadow-lg);
}

.hhp-91-pace-easy {
  background-color: var(--hhp-91-teal);
  color: white;
}

.hhp-91-pace-mid {
  background-color: var(--hhp-91-amber);
  color: white;
}

.hhp-91-pace-quick {
  background-color: var(--hhp-91-orange);
  color: white;
}

/* Crosswalk Stories Grid */
.hhp-91-crosswalk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--hhp-91-space-md);
  margin: var(--hhp-91-space-xl) 0;
}

.hhp-91-story-tile {
  background: white;
  padding: var(--hhp-91-space-lg);
  border-radius: var(--hhp-91-radius-xl);
  box-shadow: var(--hhp-91-shadow-sm);
  transition: var(--hhp-91-transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hhp-91-story-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--hhp-91-amber), var(--hhp-91-teal));
  transition: left 0.5s ease;
}

.hhp-91-story-tile:hover::before {
  left: 0;
}

.hhp-91-story-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--hhp-91-shadow-lg);
}

/* FAQ Section */
.hhp-91-faq-item {
  background: white;
  border-radius: var(--hhp-91-radius-lg);
  margin-bottom: var(--hhp-91-space-md);
  box-shadow: var(--hhp-91-shadow-sm);
  overflow: hidden;
  transition: var(--hhp-91-transition);
}

.hhp-91-faq-item:hover {
  box-shadow: var(--hhp-91-shadow-md);
}

.hhp-91-faq-question {
  padding: var(--hhp-91-space-lg);
  font-weight: 600;
  color: var(--hhp-91-teal);
  border-left: 4px solid var(--hhp-91-amber);
}

.hhp-91-faq-answer {
  padding: 0 var(--hhp-91-space-lg) var(--hhp-91-space-lg);
  color: var(--hhp-91-gray-medium);
}

/* Feature Cards */
.hhp-91-feature-card {
  background: white;
  padding: var(--hhp-91-space-xl);
  border-radius: var(--hhp-91-radius-xl);
  box-shadow: var(--hhp-91-shadow-md);
  text-align: center;
  transition: var(--hhp-91-transition);
  position: relative;
  overflow: hidden;
}

.hhp-91-feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.hhp-91-feature-card:hover::before {
  transform: scale(1);
}

.hhp-91-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hhp-91-shadow-lg);
}

.hhp-91-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--hhp-91-space-md);
  border-radius: var(--hhp-91-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--hhp-91-amber), var(--hhp-91-orange));
  color: white;
  position: relative;
  z-index: 1;
}

/* CTA Band */
.hhp-91-cta-band {
  background: linear-gradient(135deg, var(--hhp-91-teal), var(--hhp-91-teal-dark));
  color: white;
  padding: var(--hhp-91-space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hhp-91-cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  background-size: 50px 50px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-50px) translateY(-50px); }
}

.hhp-91-cta-content {
  position: relative;
  z-index: 1;
}

.hhp-91-cta-band h2 {
  color: white;
  margin-bottom: var(--hhp-91-space-md);
}

.hhp-91-disclaimer {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: var(--hhp-91-space-lg);
}

/* Animation Keyframes */
@keyframes wipe-down {
  0% {
    opacity: 0;
    transform: translateY(-50px);
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
  }
}

@keyframes stagger-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chips-drift {
  0% {
    opacity: 0;
    transform: translateX(-30px) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes mask-zigzag {
  0% {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

@keyframes glow-scan {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
  }
}

@keyframes tilt-pop {
  0% {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes blur-to-sharp {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
  }
}

@keyframes underline-sweep {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-skew {
  0% {
    opacity: 0;
    transform: translateX(-50px) skewX(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0deg);
  }
}

/* Animation Classes */
[data-anim="wipe-down"] {
  animation: wipe-down 0.8s ease-out forwards;
}

[data-anim="stagger-up"] .hhp-91-stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-anim="stagger-up"] .hhp-91-stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-anim="chips-drift"].is-visible {
  animation: chips-drift 0.8s ease-out forwards;
}

[data-anim="mask-zigzag"].is-visible {
  animation: mask-zigzag 1s ease-out forwards;
}

[data-anim="glow-scan"].is-visible {
  animation: glow-scan 1.2s ease-out forwards;
}

[data-anim="tilt-pop"].is-visible {
  animation: tilt-pop 0.6s ease-out forwards;
}

[data-anim="blur-to-sharp"].is-visible {
  animation: blur-to-sharp 1s ease-out forwards;
}

[data-anim="underline-sweep"].is-visible {
  animation: underline-sweep 0.8s ease-out forwards;
}

[data-anim="slide-skew"].is-visible {
  animation: slide-skew 0.7s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hhp-91-pace-chips {
    flex-direction: column;
    align-items: center;
  }
  
  .hhp-91-crosswalk-grid {
    grid-template-columns: 1fr;
  }
  
  .hhp-91-hero {
    padding: var(--hhp-91-space-xl) 0;
  }
  
  .hhp-91-feature-card {
    padding: var(--hhp-91-space-lg);
  }
}

@media (max-width: 480px) {
  .hhp-91-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hhp-91-pace-chip {
    padding: var(--hhp-91-space-sm) var(--hhp-91-space-md);
  }
  
  .hhp-91-feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
/* ===== Spacing ===== */
.mt-xl { margin-top: var(--hhp-91-space-xl); }
.mt-lg { margin-top: var(--hhp-91-space-lg); }
.mt-md { margin-top: var(--hhp-91-space-md); }
.mb-xl { margin-bottom: var(--hhp-91-space-xl); }

/* ===== Flex helpers ===== */
.wrap { flex-wrap: wrap; }

/* ===== Typography ===== */
.lead { font-size: 1.125rem; line-height: 1.6; }

/* ===== Narrow paragraphs ===== */
.narrow-600 { max-width: 600px; margin-inline: auto; }
.narrow-700 { max-width: 700px; margin-inline: auto; }

/* ===== Accessible skip-link (без инлайна) ===== */
.hhp-91-skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 12px;
  background: var(--hhp-91-amber);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}
.hhp-91-skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
