:root {
  --ink: #17212b;
  --text: #334155;
  --muted: #64748b;
  --line: #d7dee8;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --accent: #0b7a75;
  --accent-dark: #075e5a;
  --steel: #2f465d;
  --amber: #d89022;
  --shadow: 0 20px 50px rgba(23, 33, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(215,222,232,.8);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--steel));
  border-radius: 8px;
}
.brand strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; gap: 22px; color: var(--steel); font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--accent); }
.header-cta {
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: var(--accent);
  border-radius: 6px;
}
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 52%, rgba(245,247,251,.88) 100%),
    repeating-linear-gradient(0deg, rgba(47,70,93,.07) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(47,70,93,.06) 0 1px, transparent 1px 38px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.12; }
h1 { max-width: 780px; font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 20px; }
.lead { max-width: 650px; margin: 22px 0 0; color: #405166; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover, .header-cta:hover { background: var(--accent-dark); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.proof-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0; }
.proof-strip div { padding: 14px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 8px; }
.proof-strip dt { color: var(--ink); font-weight: 900; }
.proof-strip dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.hero-visual { filter: drop-shadow(var(--shadow)); }
.hero-visual img { width: 100%; }

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px;
  color: #fff;
  background: var(--steel);
}
.trust-band span { padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 13px; font-weight: 800; }

.section, .split-section, .contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}
.section-heading { max-width: 800px; margin-bottom: 34px; }
.section-heading p { max-width: 720px; margin: 16px 0 0; }
.product-grid, .case-grid, .timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card, .case-grid article, .timeline div, .spec-panel, .quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.product-card { padding: 18px; }
.product-card img { width: 100%; margin-bottom: 18px; border-radius: 6px; background: var(--soft); }
.product-card p { color: var(--muted); }
.product-card a { color: var(--accent); font-weight: 900; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  background: var(--soft);
}
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; margin: 12px 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--amber); border-radius: 2px; }
.spec-panel { padding: 24px; box-shadow: var(--shadow); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row strong { color: var(--ink); text-align: right; }

.muted { background: #fbfcfe; }
.case-grid article { padding: 24px; }
.case-grid span { color: var(--amber); font-weight: 900; }
.case-grid p, .timeline p { color: var(--muted); }
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline div { padding: 22px; }
.timeline strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 80px);
  color: #fff;
  background: var(--ink);
}
.contact-section h2, .contact-section .eyebrow { color: #fff; }
.contact-copy p { color: #cbd5e1; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-methods a { padding: 10px 14px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; }
.quote-form { padding: 24px; color: var(--ink); }
.quote-form label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 900; }
.quote-form input, .quote-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.quote-form textarea { resize: vertical; }
.quote-form button { width: 100%; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #dbe4ef;
  background: #101820;
}
.footer p { margin: 6px 0 0; color: #96a4b5; }
.footer a { color: #fff; font-weight: 800; }
.footer div:last-child { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; }
.page-hero {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(255,255,255,.96), rgba(245,247,251,.9)),
    repeating-linear-gradient(0deg, rgba(47,70,93,.07) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(47,70,93,.06) 0 1px, transparent 1px 38px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 980px; font-size: clamp(38px, 6vw, 68px); }
.page-hero p:not(.eyebrow) { max-width: 820px; margin: 20px 0 0; color: #405166; font-size: 19px; }
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}
.article h1 { font-size: clamp(36px, 5vw, 58px); }
.article h2 { margin-top: 34px; font-size: 28px; }
.article p { color: var(--text); }
.article .lead { font-size: 20px; }
.floating-inquiry {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 900;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 33, 43, .22);
}
.video-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101820;
  border-radius: 6px;
}
.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--accent);
  font-weight: 800;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--ink); background: var(--soft); }
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .hero-actions, [dir="rtl"] .product-grid { direction: rtl; }
.real-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 26px;
  color: var(--steel);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(245,247,251,.96), rgba(232,238,246,.96)),
    repeating-linear-gradient(45deg, rgba(47,70,93,.08) 0 1px, transparent 1px 18px);
  border: 1px dashed #9aa9ba;
  border-radius: 8px;
}
.real-media-placeholder.compact { min-height: 210px; }
.real-media-placeholder span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.real-media-placeholder strong { display: block; margin: 8px 0; color: var(--ink); font-size: 24px; }
.real-media-placeholder small { color: var(--muted); }
.real-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.real-media-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #10202d, #0b7a75);
}
.admin-login-card {
  width: min(420px, calc(100vw - 32px));
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.admin-login-card h1 { margin-top: 18px; }
.admin-login-card label { display: block; margin: 18px 0; font-weight: 900; }
.admin-login-card input, .admin-toolbar input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.admin-body { min-height: 100vh; background: #eef3f7; }
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  padding: 22px;
  color: #dce8f0;
  background: #10202d;
}
.admin-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; color: #fff; }
.admin-sidebar a {
  display: block;
  margin: 8px 0;
  padding: 12px 14px;
  color: #dce8f0;
  border-radius: 8px;
}
.admin-sidebar a.active, .admin-sidebar a:hover { color: #fff; background: rgba(115,208,202,.18); }
.admin-main { margin-left: 248px; padding: 28px; }
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.admin-logout, .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  font-weight: 900;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-stats article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(23,33,43,.08);
}
.admin-stats span { color: var(--muted); font-weight: 800; }
.admin-stats strong { display: block; margin-top: 6px; color: var(--ink); font-size: 34px; }
.admin-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(23,33,43,.08);
}
.admin-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.inquiry-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inquiry-table th, .inquiry-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.inquiry-table th { color: var(--steel); background: #f7fafc; }
.inquiry-table tr:hover { background: #f9fcfd; }
.inquiry-table .row-unread { background: #edfdfa; }
.inquiry-table small { display: block; color: var(--muted); margin-top: 4px; }
.status-badge { padding: 4px 8px; color: #075e5a; background: #dff8f4; border-radius: 999px; font-size: 12px; font-weight: 900; }
.action-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-btn { min-height: 30px; font-size: 12px; }
.mini-btn.danger { color: #9b1c1c; }
.text-button { color: var(--accent); font-weight: 900; background: none; border: 0; cursor: pointer; }
.pagination { display: flex; gap: 6px; justify-content: flex-end; margin-top: 16px; }
.pagination a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pagination a.active { color: #fff; background: var(--accent); border-color: var(--accent); }
dialog { border: 0; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(16,24,32,.45); }

@media (max-width: 900px) {
  .site-header { gap: 12px; }
  .nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero, .split-section, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { order: -1; }
  .product-grid, .case-grid, .timeline { grid-template-columns: 1fr; }
  .video-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; width: auto; }
  .admin-main { margin-left: 0; padding: 18px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-toolbar { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: 40px; }
  .proof-strip { grid-template-columns: 1fr; }
  .spec-row { display: block; }
  .spec-row strong { display: block; margin-top: 4px; text-align: left; }
  .footer { display: block; }
}
