/* Original monochrome adaptations of the Lamp, Spotlight and bento patterns.
   References and source distinctions live in design-system/oranday-monochrome/MASTER.md. */
.home-hero { padding-top: clamp(5rem, 8.5vw, 8rem); }
.hero-lamp {
  position: absolute; inset: 0 0 auto; height: 620px; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse 45% 50% at 50% 0, #c4cfdf13, transparent 85%);
}
.hero-lamp-halo {
  position: absolute; width: min(1100px, 115vw); height: 450px; left: 50%; top: -404px;
  transform: translateX(-50%); border-radius: 50%;
  border-bottom: 1px solid #d7e0f066;
  box-shadow: 0 15px 55px #d4deef24, 0 40px 120px #cad6ec13, inset 0 -5px 30px #dbe2ef10;
}
.hero-lamp-halo::after {
  content: ""; position: absolute; inset: -22px -35px; border: 1px solid #9caac91a; border-radius: 50%;
}
.hero-lamp-ray {
  position: absolute; width: min(850px, 95vw); height: 450px; left: 50%; top: -110px;
  transform: translateX(-50%);
  background: conic-gradient(from 150deg at 50% 0, transparent 0deg, #bbc8de08 12deg, #e7edf51c 30deg, #bbc8de08 48deg, transparent 60deg);
  mask-image: linear-gradient(#000, transparent 85%);
}
.hero-lamp::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(#d3deee04 1px,transparent 1px),linear-gradient(90deg,#d3deee04 1px,transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%);
}
.hero-intro { position: relative; }
.hero-label { backdrop-filter: blur(8px); background: #0c0f14b3; box-shadow: 0 1px 0 #ffffff0d inset; }
.hero-stage .experience { border-color: #363c48; box-shadow: 0 -8px 70px #aebbd812, 0 32px 100px #0003; }
.hero-stage-heading { margin-bottom: .6rem; }
.home-page .hero-actions .button-primary { position: relative; overflow: hidden; }
.home-page .hero-actions .button-primary::before {
  content: ""; position: absolute; inset: -80% auto -80% -60%; width: 35%;
  background: linear-gradient(90deg,transparent,#ffffffb0,transparent);
  transform: rotate(25deg); pointer-events:none;
}
.home-page .hero-actions .button-primary:hover::before,
.home-page .hero-actions .button-primary:focus-visible::before { animation: oranday-shine .8s ease-out; }
@keyframes oranday-shine { to { transform: translateX(650%) rotate(25deg); } }

/* Spotlight follows a fine pointer; keyboard focus receives the same visual weight. */
.solution-card { position: relative; isolation: isolate; --spot-x:50%; --spot-y:50%; }
.solution-card::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:0;
  background:radial-gradient(400px circle at var(--spot-x) var(--spot-y),#cdd8eb12,transparent 65%);
  transition:opacity .25s;
}
.solution-card::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; padding:1px;
  background:radial-gradient(240px circle at var(--spot-x) var(--spot-y),#e2e9f3b3,transparent 75%);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude; opacity:0; transition:opacity .25s;
}
.solution-card:focus-within::before,.solution-card:focus-within::after,
.solution-card[data-pointer-active=true]::before,.solution-card[data-pointer-active=true]::after { opacity:1; }
.solution-bento { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.solution-bento .solution-card { min-width:0; background:linear-gradient(135deg,#12151b,#0d0f13 65%); border-radius:18px; }
.solution-bento .solution-copy { padding:2rem; }
.solution-bento .solution-copy h3 { max-width:24rem; font-size:1.65rem; }
.solution-bento .solution-copy p { max-width:30rem; }
.solution-bento .mini-scene { height:220px; margin:0 2rem; }
.solution-bento .mini-browser { max-width:340px; transform:perspective(600px) rotateY(-7deg) rotateX(5deg); }
.solution-bento .mini-board { max-width:380px; }
.solution-bento .mini-column { padding:12px; }
.solution-bento .mini-column>span,.solution-bento .mini-lead { font-size:.68rem; }
.solution-bento .mini-lead { padding:12px 8px; }
.solution-bento .mini-score { right:8%; bottom:25px; font-size:.72rem; }
.solution-bento .text-link { padding-inline:2rem; padding-bottom:1.4rem; }
.solution-bento .solution-featured {
  grid-column:1/-1; display:grid; grid-template-columns:1fr 1.1fr;
  align-items:center; background:radial-gradient(ellipse at 76% 50%,#9dadcc0b,transparent 65%),#101318;
  min-height:360px;
}
.solution-featured .solution-copy { align-self:end; }
.solution-featured .solution-copy h3 { font-size:clamp(1.8rem,3vw,2.6rem); max-width:23rem; }
.solution-featured .text-link { grid-column:1; align-self:start; margin-top:0; padding-top:0; }
.automation-canvas { grid-column:2; grid-row:1/3; position:relative; padding:3.5rem 2rem 2.5rem; align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
.automation-grid {
  display:grid; grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr); gap:12px; align-items:center; position:relative;
}
.automation-grid::before { content:""; position:absolute; left:12%; right:12%; top:50%; height:1px; background:linear-gradient(90deg,#515e7440,#c5d4ec70,#515e7440); }
.automation-io { display:flex; flex-direction:column; gap:12px; position:relative; }
.automation-chip {
  min-width:0; overflow-wrap:anywhere; display:flex; gap:9px; align-items:center; min-height:46px; padding:10px 12px;
  border:1px solid #343d4b; border-radius:9px; color:#c4ccd9; font-size:11px; background:#151a22;
}
.automation-chip svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; flex-shrink:0; }
.automation-core { position:relative; display:grid; place-items:center; width:70px; height:70px; margin:auto; border-radius:20px; background:linear-gradient(140deg,#3a4351,#191f2a 70%); border:1px solid #78859b; box-shadow:0 0 55px #d3defe16,0 12px 40px #0006,inset 0 1px 0 #ffffff55; }
.automation-core::before,.automation-core::after { content:""; position:absolute; inset:-10px; border:1px solid #a0aec51c; border-radius:27px; }
.automation-core::after { inset:-19px; border-radius:36px; border-color:#a0aec50b; }
.automation-core svg { width:32px; height:32px; fill:none; stroke:#e6ecf5; stroke-width:1.2; }
.automation-caption { margin-top:2rem!important; text-align:center; color:#aeb7c6; font-size:11px; letter-spacing:.04em; }
.automation-caption span { color:#e0e5ed; }
.automation-review { margin:1.2rem auto 0; display:inline-flex; align-items:center; gap:8px; font-size:11px; color:#b4bdca; padding:7px 11px; border:1px solid #3d4757; border-radius:30px; background:#1c222c; }
.automation-review svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.5; }
@media (min-width:761px) {
  .hero-lamp { animation:oranday-lamp-intro 1.5s ease-out both; }
  @keyframes oranday-lamp-intro { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:none; } }
  .solution-bento .solution-card:not(.solution-featured) { display:grid; grid-template-columns:1fr; }
}
@media (max-width:950px) {
  .solution-bento .solution-featured { grid-template-columns:.95fr 1fr; }
  .automation-canvas { padding-inline:1.5rem; }
  .automation-grid { grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr); gap:7px; }
  .automation-core { width:50px; height:50px; border-radius:14px; }
  .automation-core::before { inset:-7px; border-radius:20px; }
  .automation-core::after { inset:-13px; border-radius:26px; }
  .automation-chip { padding:9px 7px; gap:6px; font-size:10px; }
}
@media (max-width:760px) {
  .home-hero { padding-top:4.25rem; }
  .hero-lamp { height:500px; }
  .hero-lamp-halo { width:145vw; height:320px; top:-294px; }
  .hero-lamp-ray { width:140vw; opacity:.65; }
  .solution-bento { grid-template-columns:1fr; }
  .solution-bento .solution-card,.solution-bento .solution-featured { display:flex; flex-direction:column; }
  .solution-bento .solution-copy { padding:1.5rem; align-self:start; }
  .solution-bento .solution-copy h3 { font-size:1.6rem; }
  .solution-featured .solution-copy h3 { font-size:2rem; }
  .automation-canvas { width:100%; padding:1rem 1.5rem 2rem; }
  .automation-grid { grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr); }
  .automation-chip { font-size:11px; }
  .solution-bento .text-link { align-self:start; padding:0 1.5rem 1.5rem; margin-top:0; }
  .solution-bento .mini-scene { width:calc(100% - 3rem); height:200px; margin:0 1.5rem 1rem; }
}
@media (max-width:390px) {
  .automation-grid { grid-template-columns:minmax(0,1fr) 49px minmax(0,1fr); gap:6px; }
  .automation-core { width:42px; height:42px; border-radius:12px; }
  .automation-core svg { width:24px; height:24px; }
  .automation-chip { font-size:11px; padding:9px 5px; gap:0; overflow-wrap:normal; white-space:nowrap; justify-content:center; }
  .automation-chip svg { display:none; }
  .solution-bento .mini-column { padding:8px 5px; }
  .solution-bento .mini-column>span,.solution-bento .mini-lead { font-size:.58rem; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-lamp,.home-page .hero-actions .button-primary::before { animation:none!important; }
  .solution-card::before,.solution-card::after { transition:none; }
}

/* Demo del inicio: título claro que dice qué se está viendo */
.hero-stage-explica{align-items:flex-end;margin-bottom:1.4rem}
.hero-stage-explica h2{margin-top:.55rem;font-size:clamp(1.55rem,2.6vw,2.25rem);line-height:1.12;letter-spacing:-.04em;font-weight:500}
.hero-stage-explica h2 span{color:#a2a8b3}
.hero-stage-explica p:not(.eyebrow){margin-top:.6rem;max-width:34rem;color:var(--secondary);font-size:.92rem}
.experience-steps button{font-size:.78rem}
@media(max-width:760px){.hero-stage-explica h2 br{display:none}}
