/* Product sheet · layout tipo Amazon Bedrock (AdaptiveLearn) */

.product-sheet {
  --ps-bg: #f5f9fc;
  --ps-bg-soft: #eef4fa;
  --ps-ink: #16191f;
  --ps-muted: #545b64;
  --ps-border: #d5dbdb;
  --ps-pill: #16191f;
  --ps-radius: 24px;
  --ps-media-radius: 12px;
  background: linear-gradient(180deg, var(--ps-bg) 0%, #fff 48%, var(--ps-bg-soft) 100%);
  color: var(--ps-ink);
}

.product-sheet a { color: inherit; }

.product-sheet .btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.product-sheet .btn-pill--primary {
  background: var(--ps-pill);
  color: #fff;
}
.product-sheet .btn-pill--primary:hover {
  background: #000;
  transform: translateY(-1px);
}

.product-sheet .btn-pill--secondary {
  background: #fff;
  color: var(--ps-ink);
  border-color: var(--ps-ink);
}
.product-sheet .btn-pill--secondary:hover {
  background: #fafafa;
  transform: translateY(-1px);
}

/* ── Hero Bedrock ── */
.ps-hero {
  padding: 128px 0 64px;
}

.ps-hero__top {
  max-width: 720px;
  margin-bottom: 48px;
}

.ps-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ps-muted);
  margin-bottom: 20px;
}

.ps-breadcrumb__sep { opacity: 0.55; }
.ps-breadcrumb__current { color: var(--ps-ink); font-weight: 600; }

.ps-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ps-ink);
}

.ps-hero__value {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--ps-muted);
  max-width: 38rem;
}

.ps-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 640px) {
  .ps-hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.ps-hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .ps-hero__row {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
}

.ps-media {
  position: relative;
  border-radius: var(--ps-media-radius);
  overflow: hidden;
  background: #e8eef5;
  aspect-ratio: 16 / 10;
  box-shadow: none;
  border: 1px solid rgba(22, 25, 31, 0.08);
}

.ps-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-media-wrap {
  margin: 0;
}

.ps-media-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ps-muted);
  font-weight: 500;
}

.ps-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ps-ink);
}

.ps-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ps-muted);
}

.ps-copy__stack {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #687078;
}

.ps-proof {
  padding: 8px 0 40px;
  border-top: 1px solid rgba(22, 25, 31, 0.08);
}

.ps-proof__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ps-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.ps-proof__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ps-proof__logo {
  font-size: 13px;
  font-weight: 700;
  color: #232f3e;
  opacity: 0.72;
}

/* ── Project blocks (same template) ── */
.ps-projects {
  padding: 64px 0 80px;
}

.ps-projects__head {
  margin-bottom: 28px;
}

.ps-projects__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ps-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.ps-projects__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
}

.ps-projects__head p {
  margin: 0;
  color: var(--ps-muted);
  max-width: 40rem;
}

.ps-block {
  padding: 56px 0;
  border-top: 1px solid rgba(22, 25, 31, 0.08);
}

.ps-block:first-of-type { border-top: none; }

.ps-block__intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.ps-block__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ps-ink);
}

.ps-block__value {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ps-muted);
}

.ps-block__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps-block__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .ps-block__row {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
  }
  .ps-block--flip .ps-block__row {
    grid-template-columns: 1fr 1.1fr;
  }
  .ps-block--flip .ps-block__media { order: 2; }
  .ps-block--flip .ps-block__copy { order: 1; }
}

.ps-block--disabled {
  opacity: 0.72;
}

.ps-block--disabled .ps-media::after {
  content: "Desactivado";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #687078;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.ps-disabled-acc {
  margin-top: 8px;
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.ps-disabled-acc > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ps-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-disabled-acc > summary::-webkit-details-marker { display: none; }

.ps-disabled-acc__count {
  background: #eaecee;
  color: var(--ps-muted);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

.ps-disabled-acc[open] > summary {
  border-bottom: 1px solid var(--ps-border);
}

.ps-disabled-acc .ps-block {
  padding: 24px 18px 32px;
}

/* Dark theme: keep product sheet light (Bedrock look) */
[data-theme="dark"] .product-sheet {
  /* sheet stays light by design */
}

/* ── Featured projects · estilo oca-i.net (banners + ver más) ── */
.al-featured {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(243, 128, 32, 0.06), transparent 55%),
    radial-gradient(700px 360px at 100% 8%, rgba(0, 108, 184, 0.05), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #fff 40%, #f8fafc 100%);
  color: #0f172a;
}

.al-featured__head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.al-featured__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c45f0c;
}

.al-featured__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.al-featured__lead {
  margin: 0 0 0.85rem;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.55;
}

.al-featured__principales {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.al-featured__principales strong {
  color: #0f172a;
  font-weight: 700;
}

.al-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  max-width: 1100px;
  margin: 0 auto;
}

.al-banner {
  --accent: #F38020;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, #e2e8f0);
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.al-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.al-banner__visual {
  position: relative;
  min-height: 220px;
  background: color-mix(in srgb, var(--accent) 10%, #f1f5f9);
  border-right: 1px solid color-mix(in srgb, var(--accent) 18%, #e2e8f0);
}

.al-banner__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.al-banner__fallback {
  display: grid;
  place-items: center;
  min-height: 220px;
  font-size: 3rem;
  background:
    radial-gradient(circle at 70% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    color-mix(in srgb, var(--accent) 12%, #f8fafc);
}

.al-banner__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 7%, #fff) 0%, #fff 55%);
}

.al-banner__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.al-banner__icon {
  font-size: 1.55rem;
  line-height: 1;
}

.al-banner__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--accent) 75%, #0f172a);
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.al-banner__panel h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.al-banner__sub {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.al-banner__desc {
  margin: 0.15rem 0 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.al-banner__stack {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  color: #64748b;
}

.al-banner__stack code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
}

.al-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.al-banner__actions .btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.al-more {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 2.5rem auto 1.75rem;
}

.al-more::before,
.al-more::after {
  content: "";
  flex: 1;
  height: 1px;
  background: color-mix(in srgb, #F38020 30%, #e2e8f0);
}

.al-more__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.al-more__btn:hover {
  border-color: #F38020;
  color: #c45f0c;
  background: #fff8f1;
}

.al-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.al-more-grid[hidden] {
  display: none !important;
}

.al-compact {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent, #F38020) 22%, #e2e8f0);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.al-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.al-compact__thumb {
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--accent, #F38020) 12%, #f1f5f9);
  overflow: hidden;
}

.al-compact__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-compact__emoji {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 140px;
  font-size: 2.2rem;
}

.al-compact__body {
  padding: 0.95rem 1rem 1.1rem;
}

.al-compact__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.al-compact__chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--accent, #F38020) 70%, #0f172a);
  background: color-mix(in srgb, var(--accent, #F38020) 12%, #fff);
  border-radius: 999px;
  padding: 3px 8px;
}

.al-compact__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.al-compact__body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.al-compact--disabled {
  opacity: 0.65;
  pointer-events: none;
}

.al-archive {
  max-width: 1100px;
  margin: 2rem auto 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.al-archive > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.al-archive > summary::-webkit-details-marker { display: none; }

.al-archive > summary span {
  background: #e2e8f0;
  color: #64748b;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

.al-archive[open] > summary {
  border-bottom: 1px solid #e2e8f0;
}

.al-archive .al-more-grid {
  padding: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  .al-banner {
    grid-template-columns: 1fr;
  }
  .al-banner__visual {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, #e2e8f0);
    min-height: 180px;
  }
  .al-more-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .al-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1101px) {
  .al-more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Dark theme: keep featured section light for readability */
[data-theme="dark"] .al-featured {
  /* light sheet by design */
}

/* Adaptive Learning Labs · experiencias independientes conectadas con Studio */
.al-learning-labs {
  padding: 78px 0 88px;
  color: #e2e8f0;
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(620px 360px at 95% 100%, rgba(192, 132, 252, 0.13), transparent 60%),
    #08111f;
}

.al-learning-labs__head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.al-learning-labs__eyebrow,
.al-lab-card__kicker {
  margin: 0 0 0.5rem;
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.al-learning-labs__head h2 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.al-learning-labs__head > p:last-child {
  margin: 0;
  color: #94a3b8;
  font-size: 1.05rem;
}

.al-learning-labs__studio {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.75);
}

.al-learning-labs__studio div { display: grid; }
.al-learning-labs__studio div span { color: #fb923c; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.al-learning-labs__studio div strong { color: #fff; }
.al-learning-labs__studio p { margin: 0; color: #94a3b8; font-size: 0.9rem; line-height: 1.45; }
.al-learning-labs__studio a,
.al-lab-card__body > a { color: #fff; font-weight: 750; text-decoration: none; }
.al-learning-labs__studio a:hover,
.al-lab-card__body > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.al-learning-labs__arrow { color: #38bdf8; font-size: 1.4rem; }

.al-learning-labs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1100px;
  margin: 0 auto;
}

.al-lab-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lab-accent) 28%, #1e293b);
  border-radius: 18px;
  background: #0f1b2d;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease;
}

.al-lab-card:hover { transform: translateY(-4px); border-color: var(--lab-accent); }
.al-lab-card__visual { aspect-ratio: 16 / 10; overflow: hidden; background: #020617; }
.al-lab-card__visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.al-lab-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.2rem; }
.al-lab-card__kicker { color: var(--lab-accent); }
.al-lab-card h3 { margin: 0 0 0.55rem; color: #fff; font-size: 1.35rem; letter-spacing: -0.025em; }
.al-lab-card__body > p:not(.al-lab-card__kicker) { margin: 0 0 1rem; color: #a8b4c7; line-height: 1.55; }
.al-lab-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: auto 0 1.1rem; padding: 0; list-style: none; }
.al-lab-card__tags li { padding: 0.3rem 0.55rem; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 999px; color: #cbd5e1; font-size: 0.74rem; }

@media (max-width: 900px) {
  .al-learning-labs__grid { grid-template-columns: 1fr; }
  .al-learning-labs__studio { grid-template-columns: 1fr; }
  .al-learning-labs__arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .al-lab-card { transition: none; }
}

.al-studio-hero {
  padding: 2.5rem 0 1rem;
  background: #f8fafc;
}
.al-studio-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--accent, #f38020) 22%, #e2e8f0);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}
.al-studio-hero__visual {
  min-height: 240px;
  background: color-mix(in srgb, var(--accent, #f38020) 12%, #fff);
}
.al-studio-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.al-studio-hero__copy {
  padding: 1.6rem 1.7rem 1.5rem;
}
.al-studio-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #f38020);
}
.al-studio-hero__copy h2 {
  margin: 0 0 0.35rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}
.al-studio-hero__kicker {
  margin: 0 0 0.75rem;
  font-weight: 650;
  color: #334155;
}
.al-studio-hero__desc,
.al-studio-hero__aside {
  margin: 0 0 0.85rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}
.al-studio-hero__aside a {
  font-weight: 700;
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.al-studio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
@media (max-width: 860px) {
  .al-studio-hero__card {
    grid-template-columns: 1fr;
  }
  .al-studio-hero__visual {
    min-height: 180px;
  }
}
[data-theme="dark"] .al-studio-hero {
  background: #0f172a;
}
[data-theme="dark"] .al-studio-hero__card {
  background: #1e293b;
  border-color: rgba(243, 128, 32, 0.28);
}
[data-theme="dark"] .al-studio-hero__copy h2,
[data-theme="dark"] .al-studio-hero__aside a {
  color: #f8fafc;
}
[data-theme="dark"] .al-studio-hero__kicker {
  color: #e2e8f0;
}
[data-theme="dark"] .al-studio-hero__desc,
[data-theme="dark"] .al-studio-hero__aside {
  color: #94a3b8;
}
