/* HOME premium — loaded only on / */

.hero-cine {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-cine-slides,
.hero-cine-slide,
.hero-cine-overlay {
  position: absolute;
  inset: 0;
}

.hero-cine-slides {
  z-index: 0;
  background: #050607;
}

.hero-cine-slide {
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.hero-cine-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-cine-slide.is-leaving {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: none;
}

.hero-cine-slide picture,
.hero-cine-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% center;
  transform: translateZ(0);
}

.hero-cine-slide img {
  animation: heroKenBurns 18s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-cine-slide.is-active img,
.hero-cine-slide.is-leaving img {
  animation-play-state: running;
}

.hero-cine.is-paused .hero-cine-slide img {
  animation-play-state: paused;
}

.hero-cine-overlay {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 52%, rgba(0, 0, 0, .20) 100%);
}

.hero-cine-inner {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 72px) 0 132px;
}

.hero-cine-copy { max-width: 920px; }

.hero-cine-texts {
  position: relative;
  min-height: clamp(240px, 38vh, 380px);
}

.hero-cine-copy-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
  pointer-events: none;
}

.hero-cine-copy-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.hero-cine-eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8A8F96;
}

.hero-cine-copy h1 {
  margin: 0 0 28px;
  max-width: 16ch;
  font-size: clamp(58px, 6vw, 96px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.038em;
  color: #fff;
}

.hero-cine-lead {
  margin: 0;
  max-width: 650px;
  color: #D6D8DA;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.01em;
}

.hero-cine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 28px;
}

.hero-cine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46rem;
}

.hero-cine-chips li {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid rgba(37, 140, 255, .55);
  border-radius: 999px;
  background: rgba(37, 140, 255, .22);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-cine-indicators {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(var(--hero-n, 4), 1fr);
  gap: 18px;
}

.hero-cine-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #8A8F96;
  cursor: pointer;
  text-align: left;
}

.hero-cine-tab-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}

.hero-cine-tab-bar {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}

.hero-cine-tab-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.hero-cine-tab.is-active { color: #fff; }

.hero-cine-tab.is-active .hero-cine-tab-fill {
  animation: heroFill 6s linear forwards;
}

.hero-cine.is-paused .hero-cine-tab.is-active .hero-cine-tab-fill,
.hero-cine-tab:not(.is-active) .hero-cine-tab-fill {
  animation: none;
}

.hero-cine-tab:focus-visible {
  outline: 2px solid #258CFF;
  outline-offset: 4px;
}

.home-bridge {
  padding: 160px 0 72px;
}

.home-bridge-copy { max-width: 820px; }

.home-bridge h2 {
  margin: 18px 0 24px;
  max-width: 16ch;
  font-weight: 500;
  letter-spacing: -.036em;
}

.home-section { padding: 128px 0; }
.home-section-tight { padding-top: 112px; }

.home-section .section-head h2,
.home-noc-head h2,
.about-home h2,
.cta-finale h2 {
  font-weight: 500;
  letter-spacing: -.034em;
}

.comp-marquee {
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  background: #258CFF;
}

.comp-marquee-track {
  display: flex;
  width: max-content;
  animation: homeMarquee 90s linear infinite;
}

.comp-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.comp-marquee-group span {
  padding: 18px 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .06);
}

.svc-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 280px;
  padding: 36px 32px 32px;
  background: #0C1118;
  color: inherit;
}

.svc-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 55%;
  background: radial-gradient(circle at 100% 100%, rgba(37, 140, 255, .12), transparent 68%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: #8A8F96;
  margin-bottom: 28px;
}

.svc-item h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.03em;
}

.svc-item p {
  margin: 0;
  max-width: 36ch;
  color: #8A8F96;
  font-size: 14.5px;
  line-height: 1.55;
}

.svc-arrow {
  margin-top: auto;
  padding-top: 28px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: transform .35s ease;
}

.svc-item:hover {
  background: #121A24;
}

.svc-item:hover::after { opacity: 1; }
.svc-item:hover .svc-arrow { transform: translateX(5px); }
.svc-item:focus-visible { outline: 2px solid #258CFF; outline-offset: -2px; }

.eco-flow {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  position: relative;
}

.eco-flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: rgba(255, 255, 255, .1);
}

.eco-flow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  height: 1px;
  width: 0;
  background: #258CFF;
  transition: width 1.4s ease;
}

.eco-flow.is-on::after { width: 100%; }

.eco-node { position: relative; padding-top: 32px; }

.eco-node a {
  display: grid;
  gap: 8px;
  color: #8A8F96;
  transition: color .3s ease;
}

.eco-node a:hover,
.eco-node a:focus-visible { color: #fff; }

.eco-idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: #8A8F96;
}

.eco-node strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.eco-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #171A1D;
  border: 1px solid rgba(255, 255, 255, .35);
  transform: scale(.7);
  opacity: .4;
  transition: transform .4s ease, opacity .4s ease, border-color .4s ease, background .4s ease;
}

.eco-flow.is-on .eco-node::before {
  transform: scale(1);
  opacity: 1;
  background: #050607;
  border-color: #258CFF;
}

.eco-flow.is-on .eco-node:nth-child(1)::before { transition-delay: .05s; }
.eco-flow.is-on .eco-node:nth-child(2)::before { transition-delay: .15s; }
.eco-flow.is-on .eco-node:nth-child(3)::before { transition-delay: .25s; }
.eco-flow.is-on .eco-node:nth-child(4)::before { transition-delay: .35s; }
.eco-flow.is-on .eco-node:nth-child(5)::before { transition-delay: .45s; }
.eco-flow.is-on .eco-node:nth-child(6)::before { transition-delay: .55s; }
.eco-flow.is-on .eco-node:nth-child(7)::before { transition-delay: .65s; }
.eco-flow.is-on .eco-node:nth-child(8)::before { transition-delay: .75s; }

.home-noc {
  padding: 128px 0;
  background: #090B0D;
  border-block: 1px solid rgba(255, 255, 255, .05);
}

.home-noc-head { max-width: 760px; margin-bottom: 48px; }
.home-noc-head h2 { margin: 16px 0 20px; }
.home-noc-head .lead { max-width: 54ch; }

.noc-panel {
  background: #050607;
  border: 1px solid rgba(255, 255, 255, .06);
}

.noc-kicker {
  margin: 0;
  padding: 16px 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8A8F96;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.noc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.noc-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.noc-item:nth-child(3n) { border-right: 0; }
.noc-item:nth-last-child(-n+3) { border-bottom: 0; }

.noc-dot {
  grid-row: 1 / span 2;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: #3DDC97;
  box-shadow: 0 0 0 3px rgba(61, 220, 151, .08);
  animation: nocPulse 3.6s ease-in-out infinite;
}

.noc-item small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8A8F96;
}

.noc-item strong {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #fff;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .06);
}

.trust-item {
  display: grid;
  gap: 16px;
  min-height: 160px;
  padding: 28px 24px;
  background: #090B0D;
}

.trust-item span {
  font-family: var(--mono);
  font-size: 11px;
  color: #8A8F96;
}

.trust-item strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.seg-editorial {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.seg-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 88px;
  padding: 22px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.seg-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--seg-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .4s ease, transform .7s ease;
  filter: grayscale(.15) brightness(.45);
}

.seg-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 7, .55), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}

.seg-row span,
.seg-row strong { position: relative; z-index: 1; }

.seg-row span {
  font-family: var(--mono);
  font-size: 12px;
  color: #8A8F96;
}

.seg-row strong {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -.038em;
  line-height: 1;
}

.seg-row:hover::before,
.seg-row:hover::after { opacity: 1; }
.seg-row:hover::before { transform: scale(1); }
.seg-row:hover strong { color: #fff; }

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding-top: 18px;
}

.process-line {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, .1);
}

.process-line span {
  display: block;
  width: 0;
  height: 100%;
  background: #258CFF;
}

.process-step span {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: #258CFF;
  margin-bottom: 16px;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.process-step p {
  margin: 0;
  color: #8A8F96;
  font-size: 14px;
  max-width: 26ch;
}

.about-home-cta { margin-top: 28px; }

.cta-finale {
  position: relative;
  overflow: hidden;
  padding: 160px 0;
  background: #050607;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.cta-finale-glow {
  position: absolute;
  inset: auto 0 -20% 0;
  height: 70%;
  background: radial-gradient(ellipse 55% 50% at 50% 100%, rgba(37, 140, 255, .08), transparent 70%);
  pointer-events: none;
}

.cta-finale .container { position: relative; z-index: 1; max-width: 860px; }

.cta-finale-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8A8F96;
}

.cta-finale h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
}

.cta-finale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn-arrow {
  display: inline-block;
  transition: transform .35s ease;
}

.btn:hover .btn-arrow { transform: translateX(5px); }

@keyframes heroKenBurns {
  0% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.04) translateZ(0); }
  100% { transform: scale(1) translateZ(0); }
}

@keyframes heroFill {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes homeMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes nocPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@media (max-width: 1100px) {
  .svc-item {
    grid-column: span 6;
    min-height: 260px;
  }
  .eco-flow { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .eco-flow::before,
  .eco-flow::after { display: none; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-line { display: none; }
}

@media (max-width: 768px) {
  .hero-cine {
    min-height: 85svh;
    align-items: flex-end;
  }
  .hero-cine-inner { padding: calc(var(--nav-h) + 48px) 0 116px; width: min(100% - 32px, 1280px); }
  .hero-cine-copy h1 {
    font-size: clamp(42px, 12vw, 62px);
    max-width: 14ch;
    line-height: 1;
  }
  .hero-cine-texts { min-height: 280px; }
  .hero-cine-lead { font-size: 16px; }
  .hero-cine-indicators {
    width: min(100% - 32px, 1280px);
    bottom: 22px;
    gap: 10px;
  }
  .hero-cine-tab-num { font-size: 10px; }
  .home-bridge { padding: 96px 0 48px; }
  .home-section { padding: 88px 0; }
  .home-noc { padding: 88px 0; }
  .cta-finale { padding: 100px 0; }
}

@media (max-width: 640px) {
  .svc-item,
  .svc-item:nth-child(n) {
    grid-column: span 12;
    min-height: 220px;
    padding: 28px 22px;
  }
  .eco-flow { grid-template-columns: 1fr; }
  .eco-node { padding: 16px 0 16px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .eco-node::before { top: 22px; }
  .noc-grid { grid-template-columns: 1fr; }
  .noc-item { border-right: 0; }
  .noc-item:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.05); }
  .noc-item:last-child { border-bottom: 0; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-item { min-height: 0; }
  .seg-row { grid-template-columns: 48px 1fr; min-height: 72px; }
  .seg-row strong { font-size: clamp(24px, 9vw, 34px); }
  .process-track { grid-template-columns: 1fr; }
  .process-step { padding-bottom: 8px; border-left: 1px solid rgba(255,255,255,.1); padding-left: 18px; }
  .hero-cine-actions .btn { width: 100%; }
  .cta-finale-actions .btn { width: 100%; }
  .hero-cine-chips li { font-size: 11px; padding: 8px 12px; }
  .comp-marquee-group span { padding: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cine-slide { transition: none; }
  .hero-cine-slide.is-active img,
  .hero-cine-slide img { animation: none !important; transform: none; }
  .hero-cine-copy-slide {
    transition: none;
    transform: none;
  }
  .hero-cine-tab-fill,
  .hero-cine-tab.is-active .hero-cine-tab-fill { animation: none; width: 100%; }
  .comp-marquee-track,
  .noc-dot { animation: none; }
  .comp-marquee-group:nth-child(2) { display: none; }
  .eco-flow::after { width: 100%; transition: none; }
  .eco-node::before { transition: none; }
  .svc-item::after,
  .svc-arrow,
  .seg-row::before,
  .seg-row::after,
  .btn-arrow { transition: none; }
}
