/* ═══════════════════════════════════════════════
   OÍR MÁS — Hearing Remote Page Styles
   ═══════════════════════════════════════════════ */

.breadcrumb {
  text-align: center;
}

/* ─── Hero Section ─── */
.hr-hero {
  min-height: 60vh;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-5xl) 0;
}

.hr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 123, 167, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hr-hero-content h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hr-hero-content .lead {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
}

.hr-badges {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hr-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── Smartphone Mockup (Hero & Features) ─── */
.smartphone-mockup {
  width: 260px;
  height: 540px;
  background: #111827;
  border: 8px solid #1F2937;
  border-radius: 40px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px #374151;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.smartphone-notch {
  width: 120px;
  height: 25px;
  background: #1F2937;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 15px 15px;
  z-index: 10;
}

.smartphone-screen {
  flex: 1;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  position: relative;
}

.app-header {
  padding: 40px 15px 15px;
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.app-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #F8FAFC;
}

/* Volume Screen UI */
.app-slider-container {
  background: var(--color-surface);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.app-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.app-slider-track {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  position: relative;
}

.app-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  width: 60%;
}

.app-slider-thumb {
  width: 16px;
  height: 16px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-prog-btn {
  background: var(--color-surface);
  border: 1px solid #E2E8F0;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
}

.app-prog-btn.active {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

/* Tutor Screen UI */
.app-task {
  background: var(--color-surface);
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-task-title {
  font-weight: 600;
  color: var(--color-text);
}

.app-task-desc {
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

/* ─── Features Section (Tabs/Grid) ─── */
.hr-features {
  padding: var(--space-5xl) 0;
  background: var(--color-surface);
}

.hr-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-5xl);
}

.hr-feature-block:nth-child(even) .hr-feature-info {
  order: 2;
}

.hr-feature-block:nth-child(even) .hr-feature-visual {
  order: 1;
}

.hr-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.hr-feature-info h3 {
  margin-bottom: var(--space-sm);
  font-size: 2rem;
}

.hr-feature-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

.hr-bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hr-bullet-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text);
}

.hr-bullet-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.hr-pro-benefit {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-accent);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Remote Adjust Animation Flow */
.adjust-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-surface-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.flow-step {
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  animation: flow-in 0.5s forwards;
}

.flow-step:nth-child(1) {
  animation-delay: 0.2s;
}

.flow-step:nth-child(2) {
  animation-delay: 1.2s;
  border-left: 3px solid var(--color-primary);
}

.flow-step:nth-child(3) {
  animation-delay: 2.2s;
}

.flow-step:nth-child(4) {
  animation-delay: 3.2s;
  border-left: 3px solid var(--color-success);
}

@keyframes flow-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Data Chart CSS */
.data-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  padding: var(--space-lg);
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  border-bottom: 2px solid var(--color-border);
}

.data-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}

.data-bar {
  width: 40px;
  background: var(--color-primary);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: bar-grow 1s ease-out forwards;
}

.data-bar-wrapper:nth-child(1) .data-bar {
  height: 40%;
  animation-delay: 0s;
}

.data-bar-wrapper:nth-child(2) .data-bar {
  height: 70%;
  animation-delay: 0.1s;
  background: var(--color-primary-dark);
}

.data-bar-wrapper:nth-child(3) .data-bar {
  height: 50%;
  animation-delay: 0.2s;
}

.data-bar-wrapper:nth-child(4) .data-bar {
  height: 90%;
  animation-delay: 0.3s;
  background: var(--color-accent);
}

.data-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* ─── Pro Section ─── */
.hr-pro-section {
  background: var(--color-navy);
  color: #fff;
  padding: var(--space-5xl) 0;
  text-align: center;
}

.hr-pro-section h2 {
  color: #fff;
  margin-bottom: var(--space-3xl);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.pro-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: left;
}

.pro-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.pro-card h4 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.pro-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Comp Section ─── */
.hr-comp-section {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: var(--color-surface-alt);
}

.hr-comp-section h2 {
  margin-bottom: var(--space-md);
}

.hr-comp-section p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: var(--color-text-light);
}

.hr-comp-chips {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

@media (max-width: 992px) {

  .hr-hero-grid,
  .hr-feature-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hr-feature-block:nth-child(even) .hr-feature-info,
  .hr-feature-block:nth-child(even) .hr-feature-visual {
    order: unset;
  }

  .hr-bullet-list {
    align-items: center;
  }

  .pro-grid {
    grid-template-columns: 1fr;
  }
}

/* radar pulse animation for "Find my hearing aid" feature */
@keyframes pulse-radar {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes blink-dot {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}