/* ==========================================================================
   OVIS.TR — INDUSTRIAL PC, PANEL PC & FANLESS BOX PC SITE ENGINE V1
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Ensure Zyro scroll animations never stay stuck at opacity:0 */
.transition--root-hidden [data-animation-role="image"],
.transition--root-hidden [data-animation-role="block-element"],
[data-animation-role="image"],
[data-animation-role="block-element"] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Header & Brand Polish */
header.block-header {
  background: #08111f !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 8px 28px rgba(2, 6, 18, 0.45) !important;
}
header.block-header .background {
  background: #08111f !important;
}
.block-header__logo {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.ovis-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo', 'Inter', system-ui, sans-serif;
}
.ovis-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  border: 1px solid rgba(125, 211, 252, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  flex: 0 0 auto;
}
.ovis-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ovis-brand-title {
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.ovis-brand-sub {
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

/* Core OVIS Industrial Sections */
.ov-sec {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding: 72px 20px;
}
.ov-sec--dark {
  background: linear-gradient(180deg, #08111f 0%, #0d1a2f 100%);
  color: #e2e8f0;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
}
.ov-sec--light {
  background: #f4f7fb;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.ov-wrap {
  max-width: 1220px;
  margin: 0 auto;
}
.ov-accent-line {
  width: 44px;
  height: 3px;
  background: #0ea5e9;
  margin-bottom: 14px;
}
.ov-h1 {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px 0;
}
.ov-h2 {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.24;
  font-weight: 800;
  margin: 0 0 12px 0;
}
.ov-sec--dark .ov-h2 { color: #ffffff; }
.ov-sec--light .ov-h2 { color: #0b1526; }

.ov-lead {
  font-size: 16px;
  line-height: 1.65;
  max-width: 840px;
  margin: 0 0 36px 0;
}
.ov-sec--dark .ov-lead { color: #cbd5e1; }
.ov-sec--light .ov-lead { color: #334155; }

/* 4-Card Flagship Grid */
.ov-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.ov-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ov-flag-card {
  background: rgba(15, 27, 48, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-top: 2px solid #0ea5e9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(2, 8, 20, 0.48);
}
.ov-flag-media {
  width: 100%;
  height: 256px;
  overflow: hidden;
  background: #060d18;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.ov-flag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ov-flag-card:hover .ov-flag-media img {
  transform: scale(1.03);
}
.ov-flag-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ov-flag-title {
  font-family: 'Archivo', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}
.ov-flag-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 16px 0;
}
.ov-spec-list {
  list-style: none;
  padding: 14px 0 0 0;
  margin: 0 0 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.ov-spec-list li {
  font-size: 13.8px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 7px;
  padding-left: 14px;
  position: relative;
}
.ov-spec-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #38bdf8;
  position: absolute;
  left: 0;
  top: 8px;
}
.ov-spec-list li strong {
  color: #ffffff;
}
.ov-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ov-btn-primary {
  display: inline-block;
  padding: 11px 20px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.8px;
  border-radius: 6px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.ov-btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}
.ov-btn-outline {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0 !important;
  border: 1px solid rgba(56, 189, 248, 0.42);
  font-weight: 600;
  font-size: 13.8px;
  border-radius: 6px;
  text-decoration: none !important;
}
.ov-btn-outline:hover {
  border-color: #38bdf8;
  color: #ffffff !important;
}

/* Interactive Hardware Filter Tabs & Model Matrix */
.ov-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.ov-filter-btn {
  padding: 10px 18px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13.8px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.ov-filter-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
}
.ov-filter-btn.is-active {
  background: #0b192e;
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}
.ov-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.ov-model-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 3px solid #0b192e;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.ov-model-card[data-hidden="true"] {
  display: none !important;
}
.ov-model-thumb {
  width: 100%;
  height: 158px;
  background: #091322;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}
.ov-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ov-model-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ov-model-code {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ov-model-name {
  font-family: 'Archivo', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.ov-model-specs {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}
.ov-model-specs li {
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.ov-model-specs li:last-child {
  border-bottom: none;
}
.ov-model-specs strong {
  color: #0f172a;
}
.ov-model-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 9px 14px;
  background: #0b192e;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none !important;
}
.ov-model-cta:hover {
  background: #0284c7;
}

/* Technical Comparison Table */
.ov-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #0c182b;
}
.ov-sec--light .ov-table-wrap {
  background: #ffffff;
  border-color: #cbd5e1;
}
.ov-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
  font-size: 14px;
}
.ov-table th {
  background: #07101e;
  color: #ffffff;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid #0ea5e9;
}
.ov-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  vertical-align: top;
  line-height: 1.5;
}
.ov-sec--light .ov-table td {
  color: #1e293b;
  border-bottom-color: #e2e8f0;
}
.ov-table tr:last-child td {
  border-bottom: none;
}

/* Subpage Hero Split (/panel-pc & /box-pc) */
.ov-hero-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}
.ov-hero-imgbox {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 22px 48px rgba(2, 8, 20, 0.55);
  background: #060d18;
}
.ov-hero-imgbox img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* FAQ Grid */
.ov-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ov-faq-card {
  background: rgba(15, 28, 50, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  padding: 22px 24px;
}
.ov-faq-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.38;
}
.ov-faq-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* Clean Floating Engineering Support Button */
.ov-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  background: #0b192e;
  color: #ffffff !important;
  border: 1px solid #0ea5e9;
  padding: 11px 18px;
  border-radius: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(2, 8, 20, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ov-wa-float:hover {
  background: #0284c7;
  border-color: #38bdf8;
}
.ov-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

@media (max-width: 1060px) {
  .ov-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ov-grid-2, .ov-grid-3, .ov-hero-split, .ov-faq-grid { grid-template-columns: 1fr; }
  .ov-hero-imgbox img { height: 240px; }
}
@media (max-width: 560px) {
  .ov-model-grid { grid-template-columns: 1fr; }
}
