/* Orenvara.com presentation refinements — Hostinger production V1.1 */

:root {
  --site-header-height: 88px;
}

body,
main,
.section-shell,
.hero-grid,
.demo-preview,
.border-section,
.editorial-grid,
.contact-layout {
  min-width: 0;
}

.section-shell,
section[id] {
  scroll-margin-top: calc(var(--site-header-height) + 18px);
}

h1,
h2,
h3,
p,
a,
button,
strong,
span {
  overflow-wrap: anywhere;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(137, 124, 255, .16), transparent 34%),
    rgba(7, 6, 15, .97);
  border-bottom-color: rgba(137, 124, 255, .42);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .34);
}

.site-header::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--uv), var(--cyan));
  content: "";
}

.header-inner {
  min-height: var(--site-header-height);
  height: auto;
  padding-block: 10px;
}

.brand {
  min-height: 54px;
  padding-right: 8px;
}

.brand img {
  width: clamp(198px, 15vw, 228px);
  filter: drop-shadow(0 0 18px rgba(137, 124, 255, .16));
}

.nav-links a,
.team-link {
  font-size: 13px;
  font-weight: 650;
}

.demo-page main {
  min-height: calc(100svh - var(--site-header-height));
}

.demo-intro {
  min-height: calc(100svh - var(--site-header-height));
  padding-block: clamp(54px, 7vw, 88px);
}

.demo-intro > div:first-child {
  max-width: 820px;
}

.demo-runtime {
  min-height: calc(100svh - var(--site-header-height));
  height: calc(100svh - var(--site-header-height));
  scroll-margin-top: var(--site-header-height);
  overflow: hidden;
  border-top: 1px solid rgba(137, 124, 255, .36);
}

.demo-runtime-bar {
  min-height: 58px;
  height: auto;
  padding: 10px clamp(16px, 3vw, 28px);
  background: linear-gradient(90deg, rgba(137, 124, 255, .14), rgba(5, 5, 10, .98));
}

.demo-runtime-bar button,
.demo-runtime-bar a {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.demo-runtime iframe {
  display: block;
  height: calc(100% - 58px);
}

body.demo-is-active .site-footer {
  display: none;
}

body.demo-is-active .site-header {
  position: relative;
}

body.demo-is-active .demo-runtime {
  height: 100svh;
  min-height: 100svh;
  scroll-margin-top: 0;
}

.demo-runtime[data-loading="true"] iframe {
  opacity: .3;
}

@media (max-width: 1260px) {
  .header-inner { gap: 22px; }
  .nav-links { gap: 14px; }
  .nav-actions { gap: 11px; }
  .brand img { width: 198px; }
}

@media (max-width: 1080px) {
  :root { --site-header-height: 80px; }
  .primary-nav { inset: var(--site-header-height) 0 auto; }
  .site-header.open .primary-nav { max-height: calc(100svh - var(--site-header-height)); overflow-y: auto; }
  .demo-intro { min-height: auto; }
}

@media (max-width: 760px) {
  :root { --site-header-height: 74px; }
  .header-inner { width: calc(100% - 28px); min-height: var(--site-header-height); padding-block: 7px; }
  .site-header .brand img { width: 178px; }
  .primary-nav { top: var(--site-header-height); }
  .demo-intro { padding-block: 48px; }
  .demo-runtime,
  body.demo-is-active .demo-runtime { height: 100svh; min-height: 100svh; }
  .demo-runtime-bar { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .demo-runtime-bar > span { grid-column: 1 / -1; }
  .demo-runtime-bar button,
  .demo-runtime-bar a { text-align: center; }
  .demo-runtime iframe { height: calc(100% - 104px); }
}

@media (max-width: 430px) {
  .site-header .brand img { width: 164px; }
  .demo-runtime-bar { grid-template-columns: 1fr; }
  .demo-runtime-bar > span { grid-column: auto; }
  .demo-runtime iframe { height: calc(100% - 148px); }
}

