:root {
  --ink: #f5f5f5;
  --deep: #000000;
  --paper: #000000;
  --violet: #ff7770;
  --lavender: #ff9c96;
  --muted: #bcbcbc;
  --line: #343434;
  --red: #ff7770;
  --red-h: #ff9c96;
  --navy: #000000;
  --navy2: #101010;
  --navy3: #151515;
  --card-bg: #171717;
  --card-b: #393939;
  --silver: #e0e0e0;
  --silver2: #bcbcbc;
}
.site-header { background: #151515; color: var(--ink); border-color: var(--line); }
.site-header .brand, .site-trigger, .site-contact { color: var(--ink); }
.site-contact { background: #000000; color: #fff; border-color: #000000; }
.site-contact:hover { background: #303030; color: var(--ink); }
.site-trigger:hover, .site-trigger[aria-expanded=true], .sheet-label { color: #ff7770; }
.menu-toggle span { background: var(--ink); }
.site-sheet, .site-mobile { background: #101010; }
/* Portada ORBIA: fotografía panorámica y composición editorial. */
.cover { background: #000; color: #fff; }
.cover-images::after {
  background: linear-gradient(90deg,#000f 0%,#000d 27%,#0006 54%,transparent 84%),
              linear-gradient(0deg,#000e,transparent 28%);
}
.documentary .cover-images::after {
  background: linear-gradient(90deg,#000f 0%,#000d 35%,#0004 80%),
              linear-gradient(0deg,#000d,transparent 30%);
}
.cover-story h1 em { color: #ff9c96; }
.front h2 em { color: #ff9c96; }
.cover .action-light { background: #b91b12; color: #fff; }
.cover .action-light:hover { background: #962019; }
.cover .kicker { color: #ffaaa5; }
.cover .scene-buttons button { background: #0008; border-color: #fff7; color: #fff; }
.cover .scene-buttons button:hover { background: #333; }
@media (max-width: 660px) {
  .cover-images::after, .documentary .cover-images::after {
    background: linear-gradient(90deg,#000e,#0007),linear-gradient(0deg,#000e,transparent 36%);
  }
}
.catalogue, .buying { background: #000000; }
.home-section h2 { letter-spacing: -.05em; }
.image-card { border-radius: 16px; border: 1px solid var(--line); background: #101010; padding: 10px; }
.image-card .image-view { border-radius: 10px; }
.image-card .image-meta { padding-inline: 10px; }
.programs { background: #000000; }
.programs h2 em { color: #ff9c96; }
.interior .page-hero { background-color: #000000; }
/* Identidad de ANIA y superficies de la variante negra. */
.site-header, .site-mast, .home-contact { background: #000; }
.site-header .brand b, footer .brand b { color: #e43c33; font-weight: 700; }
.site-contact { border-color: #595959; }
.site-header .soon-tag { color: #ffaaa5; background: #35201e; }
.front .kicker::before, .front .kicker-light::before,
.interior .eyebrow::before, .interior .page-hero .eyebrow::before { background: #e43c33; }
.buying, .catalogue, .film-feature { background: #000; }
.programs, .film-dialog { background: #101010; }
.action-ink { background: #b91b12; color: #fff; }
.action-ink:hover { background: #962019; }
.interior .page-hero::before { background-image: linear-gradient(90deg,#000 4%,#000e 37%,#000a 59%,#0003 100%),var(--scene); }
.interior .section {
  --white:#f5f5f5; --navy:#000; --navy2:#101010; --navy3:#151515; --off-white:#ededed;
  --card-bg:#111; --card-b:#343434; --silver:#d0d0d0; --silver2:#bcbcbc;
  --red:#ff7770; --red-h:#ffaaa5; --red-dim:#33201f;
  --green:#6ee7a9; --amber:#f0c264; --mid:#232323; --light:#ddd; --cyan:#ff9c96; --off:#171717;
}
.interior .section--dark2.section, .interior .section--dark3.section { background: #000; }
.interior .form-input, .interior .form-select, .interior .form-textarea,
.interior .portal-role-card, .interior .rp-block, .interior .svc-card,
.interior .cat-tab, .interior .svc-grid .svc-full { background: #111; color: #f5f5f5; border-color: #464646; }
.interior .form-input:focus, .interior .form-select:focus, .interior .form-textarea:focus { outline-color: #ff7770; border-color: #ff7770; }
.interior .cta-band { background: #101010; }
.interior .btn-primary, .interior .section .btn-primary, .interior .cat-tab.active { background: #b91b12; color: #fff; }
.interior .btn:not(.is-soon):hover { background: #962019; border-color: #962019; color: #fff; }

/* Navegación de la variante OptimAI */
.site-header { background: #000; }
.site-mast { background: transparent; }
.site-links {
  gap: 5px;
  padding: 4px 9px;
  background: #151515;
  border: 1px solid #363636;
  border-radius: 999px;
}
.site-trigger { min-height: 38px; padding: 0 9px; border-radius: 999px; }
.site-trigger:hover, .site-trigger[aria-expanded="true"] { background: #2d1b1a; color: #ffaaa5; }
.site-contact { background: #b91b12; color: #fff; border-color: #b91b12; white-space: nowrap; }
.site-sheet { background: #101010; }
.site-mobile { background: #101010; }
@media (min-width: 1200px) and (max-width: 1360px) {
  .site-links { gap: 2px; }
  .site-trigger { padding-inline: 6px; font-size: 14px; }
}

/* Referencia visual Science Lab: enlaces abiertos y panel flotante. */
.site-header {
  background: radial-gradient(ellipse at 62% 0%, #381310 0%, transparent 48%), #000;
}
.site-links {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.site-trigger { border-radius: 5px; }
.site-trigger:hover, .site-trigger[aria-expanded="true"] {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.site-contact { background: #180908; border-color: #ac322a; }
.site-sheet {
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100vw - 64px));
  border: 1px solid #353535;
  border-radius: 24px;
  background: #131313;
  box-shadow: 0 24px 56px #0009;
  max-height: calc(100dvh - 104px);
}
.sheet-grid { padding: 22px; gap: 24px; }
.sheet-link { padding: 8px; border-radius: 8px; }
.sheet-link:hover { background: #26201f; }
.site-sheet {
  width: min(960px, calc(100vw - 64px));
  border-top: 2px solid #8d3028;
  background: #141417;
}
.sheet-grid {
  grid-auto-flow: row;
  grid-template-columns: minmax(0, 1fr) minmax(185px, 23%);
  gap: 24px;
  padding: 22px;
}
.site-sheet { width: min(1160px, calc(100vw - 64px)); background: #090909; }
.sheet-columns {
  display: grid;
  grid-template-columns: repeat(var(--sheet-column-count), minmax(0, 1fr));
  gap: 16px;
}
.sheet-feature {
  align-self: start;
  padding: 20px;
  border: 1px solid #583033;
  border-radius: 15px;
  background: linear-gradient(145deg, #211315, #101011 70%);
  color: #fff;
}
.sheet-feature strong { display: block; font-size: 17px; line-height: 1.25; }
.sheet-feature p { margin: 9px 0 16px; color: #d0c7ca; font-size: 13px; line-height: 1.5; }
.sheet-feature a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #aa484d;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.sheet-feature a:hover, .sheet-feature a:focus-visible { background: #67282c; }
.mobile-columns .sheet-feature { grid-column: 1 / -1; }
.sheet-link, .site-header .mega-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 4px;
  font-size: 16px;
}
.sheet-link small, .site-header .mega-link-sub {
  display: block;
  color: #bcbcc2;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.35;
}
.sheet-icon, .site-header .mega-link-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #292529;
  border: 1px solid #474148;
  border-radius: 9px;
  color: #e8ceca;
}

/* Fondo gris oscuro del contenido ORBIA. */
main#contenido {
  --paper: #191a1d;
  background: var(--paper);
}
main .cover { background: #191a1d; }
main .catalogue, main .buying, main .film-feature,
.interior main .section--dark2.section, .interior main .section--dark3.section {
  background: #191a1d;
}
main .programs, main .home-contact, .interior main .cta-band { background: #222327; }

/* Rótulos del primer nivel del menú principal. */
.site-header :is(.site-trigger, .site-contact, .site-mobile > details > summary, .site-mobile > .mobile-contact) {
  text-transform: uppercase;
}

.site-mast > .brand { flex-shrink: 0; }
@media (min-width: 1200px) {
  .site-header .site-links { gap: clamp(3px, .45vw, 8px); }
  .site-header .site-trigger { font-size: clamp(12px, .83vw, 15px); padding-inline: clamp(4px, .4vw, 7px); }
  .site-header .site-contact { font-size: 13px; }
}

/* Muestra las letras del arte original en una composición horizontal. */
.brand-art .brand-wordmark {
  position: relative;
  display: block;
  width: 108px;
  height: 22px;
  overflow: hidden;
}
.brand-art .brand-wordmark img {
  position: absolute;
  left: 0;
  top: -49px;
  width: 108px;
  max-width: none;
  height: auto;
}

/* Desplegables compactos con tres accesos y una tarjeta destacada. */
.site-sheet.compact-sheet { width: min(880px, calc(100vw - 64px)); }
.compact-sheet .sheet-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 32%); }
.compact-mobile { grid-template-columns: minmax(0, 1fr); }
:is(.compact-sheet, .compact-mobile) .sheet-link {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 8px;
}
:is(.compact-sheet, .compact-mobile) .sheet-link + .sheet-link { border-top: 1px solid #343434; }
:is(.compact-sheet, .compact-mobile) .sheet-icon { color: #f45153; }
.compact-sheet .sheet-feature { align-self: stretch; }
