/* Personal Comander — tema de marca (dark premium navy + gold) */

:root > * {
  --md-primary-fg-color: #1A222D;
  --md-primary-fg-color--light: #2A3644;
  --md-primary-fg-color--dark: #10161E;
  --md-accent-fg-color: #E9C349;
  --md-accent-fg-color--light: #F0D479;
  --md-accent-fg-color--dark: #C9A32F;
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #FAFAF7;
  --md-typeset-a-color: #8A6D12;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #10161E;
  --md-default-fg-color: #E0E3E5;
  --md-typeset-a-color: #E9C349;
}

.md-tabs {
  display: block;
}

/* Hero: copy + captura de móvil */
.pc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  gap: 2.25rem;
  align-items: center;
  text-align: left;
  padding: 2.5rem 0 1.25rem;
}

.pc-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.pc-hero-shot {
  margin: 0;
}

.pc-hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Captura contextual en una página del Manual */
.pc-doc-shot {
  max-width: 260px;
  margin: 1.25rem 0 1.75rem;
}

.pc-doc-shot img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.pc-doc-shot figcaption,
.pc-doc-shot p {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  margin-top: 0.4rem;
}

.pc-cta {
  margin-top: 1.25rem;
}

.pc-cta .md-button {
  margin: 0.25rem 0.5rem 0.25rem 0;
}

.pc-cta .md-button--primary {
  font-size: 1.05rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 16px rgba(233, 195, 73, 0.35);
}

.pc-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 1.75rem;
}

.pc-shot {
  margin: 0;
  text-align: center;
  min-width: 0;
}

.pc-shot img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.pc-shot p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
}

.pc-shot a {
  color: inherit;
}

.pc-shot a:hover img {
  filter: brightness(1.08);
}

.pc-aviso {
  margin-top: 2rem;
  opacity: 0.85;
}

@media screen and (max-width: 76.2344em) {
  .pc-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem 0 0.5rem;
  }

  .pc-hero h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .pc-hero-shot {
    max-width: 240px;
    margin: 0 auto;
  }

  .pc-hero-shot img {
    border-radius: 20px;
  }

  .pc-cta .md-button--primary {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }

  .pc-aviso {
    margin-top: 1.25rem;
    font-size: 0.85rem;
  }

  .pc-shots {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .pc-shot p {
    font-size: 0.8rem;
  }

  .md-tabs {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
