/* ================================
   O NAS – DARK LAYOUT
================================ */

/* pozadie len pre podstránku O nás */
body.preview-body {
  background-color: #0f0f10;
}

/* =============================
   HERO — VEĽKOSŤ AKO SLUŽBY
   TEXT PÔVODNÝ O NÁS
============================= */

.onas-hero {
  position: relative;
  padding: 120px 20px 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background-color: #0f0f10;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.onas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.26) 65%,
      rgba(0,0,0,0.55) 100%
    ),
    linear-gradient(to right,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.62) 40%,
      rgba(0,0,0,0.92) 100%
    ),
    url("../assets/onas1.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}

.onas-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
  /* 🔥 fadeUp animácia odstránená – reveal to rieši */
}

/* PÔVODNÝ TEXTOVÝ ŠTÝL */
.onas-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e5ea;
  margin-bottom: 0.5rem;
}

.onas-hero-inner h1 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.onas-hero-inner p {
  max-width: 540px;
  font-size: 1.1rem;
  color: #d4d4dd;
  line-height: 1.55;
}

/* =============================
   SEKCIE & LAYOUT
============================= */

.onas-section,
.onas-section--strip,
.onas-section--dark {
  padding: 60px 20px;
  background-color: #0f0f10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.onas-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.onas-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.onas-two-col.reverse .onas-text { order: 1; }
.onas-two-col.reverse .onas-photo { order: 2; }

/* =============================
   TEXT BLOKY
============================= */

.onas-text .onas-tag {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97373;
  margin-bottom: 0.5rem;
}

.onas-text h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #f9fafb;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.onas-text p {
  font-size: 1.05rem;
  color: #c2c2cc;
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.onas-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  font-size: 1rem;
  color: #a9a9b4;
}

.onas-list li + li {
  margin-top: 0.35rem;
}

.onas-list li::before {
  content: "• ";
  color: #ff6b6b;
  font-weight: bold;
}

/* =============================
   OBRÁZKY
============================= */

.onas-photo {
  height: 380px;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #050506;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 80px rgba(0,0,0,0.9);
}

.onas-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onas-history-photo img {
  object-position: center;
  filter: brightness(0.9);
}

/* =============================
   HISTÓRIA
============================= */

.onas-strip-text {
  max-width: 680px;
  color: #f9fafb;
}

.onas-strip-text .onas-tag {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97373;
  margin-bottom: 0.4rem;
}

.onas-strip-text h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  color: #f9fafb;
}

.onas-strip-text p {
  font-size: 1.05rem;
  color: #c5c5d0;
  margin-bottom: 0.7rem;
  line-height: 1.55;
}

/* TIMELINE */

.onas-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1rem;
}

.onas-timeline-item {
  text-align: center;
  padding: 1.4rem 1rem 1.1rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(249,115,115,0.12), transparent 60%),
    #08080b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  position: relative;
}

.onas-timeline-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97373;
  box-shadow: 0 0 12px rgba(249,115,115,0.7);
  animation: neonPulse 2.2s ease-in-out infinite;
}

.onas-timeline-item .label {
  display: block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f97373;
  margin-bottom: 0.35rem;
}

.onas-timeline-item .value {
  font-size: 1.05rem;
  color: #f3f3fb;
  line-height: 1.45;
}

/* =============================
   AKO PRACUJEME – KROKY
============================= */

.onas-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 30px;
}

.onas-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.step-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #9f3737;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(249, 115, 115, 0.35);
}

.onas-step h3 {
  margin: 0;
  font-size: 1.1rem;
}

.onas-step p {
  margin: 0;
  font-size: 1.05rem;
  color: #aeb0ba;
}

/* =============================
   HODNOTY – GRID
============================= */

.onas-values-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.onas-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.onas-value {
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 16px;
  background-color: #121215;
  border: 1px solid rgba(255,255,255,0.07);
  color: #e5e5f0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.onas-value-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffe5e5, #9f3737 55%, #7f1d1d 100%);  
  box-shadow: 0 0 14px rgba(249,115,115,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.onas-value--safe  .onas-value-icon::before { content: "🛡"; }
.onas-value--clear .onas-value-icon::before { content: "🔌"; }
.onas-value--talk  .onas-value-icon::before { content: "💬"; }

.onas-value h3 {
  margin: 0;
  font-size: 1.2rem;
}

.onas-value p {
  margin: 0;
  font-size: 1.05rem;
  color: #b8b8c5;
}

/* =============================
   FINAL CTA
============================= */

.onas-final {
  position: relative;
  padding: 70px 20px 80px;
  background-image: url("../assets/onas5.png");
  background-size: cover;
  background-position: center;
}

.onas-final-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.60) 100%
  );
}



.onas-final-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.onas-final-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.onas-final-inner p {
  font-size: 1rem;
  color: #d0d0d5;
  margin-bottom: 1.8rem;
}

.onas-final-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* =============================
   REVEAL ANIMÁCIE – rovnaké ako SLUŽBY
============================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-top {
  transform: translateY(-60px);
}

.reveal-bottom {
  transform: translateY(60px);
}

.reveal-left.active,
.reveal-right.active,
.reveal-top.active,
.reveal-bottom.active {
  transform: translate(0,0);
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 900px) {
  .onas-section,
  .onas-section--strip,
  .onas-section--dark {
    padding: 40px 16px;
  }

  .onas-two-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .onas-photo {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .onas-values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .onas-final-cta {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .onas-hero-inner h1 {
    font-size: 1.9rem;
  }
}

/* =============================
   FOOTER
============================= */

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-socials img {
  width: 60px;
  height: 60px;
  opacity: 0.8;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-socials img:hover {
  opacity: 1;
  transform: scale(1.1);
}
