﻿:root{
  --blue:#0b2a5b;
  --bg:#ffffff;
  --muted:#f2f5fa;
  --text:#0f172a;
  --sub:#475569;
  --card:#ffffff;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:var(--bg);
}

.page-loader{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,.95);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  opacity:1;
  visibility:visible;
  transition:opacity .35s ease, visibility .35s ease;
}
.page-loader.hide{
  opacity:0;
  visibility:hidden;
}
.page-loader__spinner{
  width:56px;
  height:56px;
  border:4px solid #d7e3fb;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin .9s linear infinite;
}
@keyframes spin{
  to{transform:rotate(360deg)}
}

.container{max-width:1100px; margin:0 auto; padding:0 18px;}

.topbar{background:var(--blue); color:#fff; font-size:14px;}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:10px 0;}
.topbar__note{font-weight:700; letter-spacing:.2px}
.topbar__link{color:#fff; text-decoration:none; font-weight:600; opacity:.95}
.topbar__link:hover{opacity:1; text-decoration:underline}

.header{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom:1px solid var(--border);}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}

.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit;}
.brand__logo{width:44px; height:44px; border-radius:14px; background:var(--blue); color:#fff; display:grid; place-items:center; font-weight:800; letter-spacing:.5px;}
.brand__text strong{display:block; font-size:16px; line-height:1.1}
.brand__text small{display:block; color:var(--sub)}

.nav{display:flex; align-items:center; gap:18px;}
.nav a{color:var(--text); text-decoration:none; font-weight:600; font-size:14px; opacity:.9}
.nav a:hover{opacity:1}
.nav .btn{margin-left:8px}
.nav .btn{color:#fff}
.nav .btn:hover{color:#fff}

.nav__toggle{display:none; background:transparent; border:0; cursor:pointer;}
.nav__toggle span{display:block; width:26px; height:2px; background:var(--text); margin:6px 0;}

.hero{padding:54px 0 28px; background: linear-gradient(180deg, var(--muted), #fff); border-bottom:1px solid var(--border);}
.hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:26px; align-items:stretch;}
.badge{display:inline-block; background:#eaf1ff; color:var(--blue); border:1px solid #d8e6ff; padding:8px 12px; border-radius:999px; font-weight:700; font-size:13px;}

h1{margin:12px 0 10px; font-size:44px; letter-spacing:-.02em; line-height:1.08;}
.accent{color:var(--blue)}
.lead{color:var(--sub); font-size:16px; line-height:1.7; max-width:52ch}

.hero__cta{display:flex; gap:12px; margin:18px 0 18px}
.btn{display:inline-flex; align-items:center; justify-content:center; height:44px; padding:0 16px; border-radius:14px; background:var(--blue); color:#fff; text-decoration:none; font-weight:800; border:1px solid var(--blue); box-shadow: var(--shadow);}
.btn--ghost{background:transparent; color:var(--blue); border-color:#cfe0ff; box-shadow:none;}
.btn--sm{height:38px; padding:0 12px; border-radius:12px;}
.btn--block{width:100%}

.stats{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:10px;}
.stat{background:#fff; border:1px solid var(--border); border-radius:16px; padding:12px; box-shadow: 0 6px 18px rgba(2,6,23,.05);}
.stat strong{display:block; font-size:14px}
.stat span{display:block; color:var(--sub); font-size:13px; margin-top:4px}

.card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow: var(--shadow);}
.divider{height:1px; background:var(--border); margin:16px 0}
.small{font-size:13px; color:var(--sub); line-height:1.6}
.note{opacity:.9}

.section{padding:56px 0;}
.section--alt{background:var(--muted); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.section__head{max-width:72ch; margin-bottom:22px;}
.section__head h2{margin:0 0 10px; font-size:28px; letter-spacing:-.01em}
.section__head p{margin:0; color:var(--sub); line-height:1.7}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px;}

.feature{background:#fff; border:1px solid var(--border); border-radius:18px; padding:18px; box-shadow: 0 6px 18px rgba(2,6,23,.05);}
.feature h3{margin:0 0 8px}
.feature p{margin:0; color:var(--sub); line-height:1.65}

.bullets{padding-left:18px; margin:10px 0 0}
.bullets li{margin:9px 0; color:var(--sub)}

.product{background:#fff; border:1px solid var(--border); border-radius:18px; padding:18px; box-shadow: 0 6px 18px rgba(2,6,23,.05);}
.product h3{margin:0 0 8px}
.product p{margin:0; color:var(--sub); line-height:1.65}
.tag{display:inline-block; margin-top:12px; padding:6px 10px; border-radius:999px; background:#eef4ff; color:var(--blue); border:1px solid #d8e6ff; font-weight:800; font-size:12px;}

.form .row{display:flex; flex-direction:column; gap:8px; margin-bottom:12px;}
label{font-weight:800; font-size:13px;}
input, textarea{border:1px solid var(--border); border-radius:14px; padding:12px 12px; font-size:14px; outline:none;}
input:focus, textarea:focus{border-color:#cfe0ff; box-shadow: 0 0 0 4px rgba(11,42,91,.08);}

.contact__list{list-style:none; padding:0; margin:12px 0 0}
.contact__list li{margin:10px 0; color:var(--sub)}
.contact__list strong{color:var(--text)}
.icon-text{display:inline-flex; align-items:center; gap:6px}
.icon-sm{width:16px; height:16px; flex:0 0 16px}
.map-wrap{border:1px solid var(--border); border-radius:14px; overflow:hidden; background:#f8fafc; margin-top:10px}
.map-wrap iframe{display:block; width:100%; height:260px; border:0}

.footer-bar{background:var(--blue); color:#fff; border-top:1px solid rgba(255,255,255,.15)}
.footer-bar__inner{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:18px 0}
.footer-bar__item strong{display:block; font-size:13px; opacity:.9}
.footer-bar__item span{display:block; margin-top:4px; font-size:14px; font-weight:700}

.footer{padding:18px 0; border-top:1px solid var(--border); background:#fff;}
.footer__inner{display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:6px; color:var(--sub); font-size:14px;}
.footer__inner p{margin:0}
.footer a{color:var(--blue); text-decoration:none; font-weight:800}

.wa-float{position:fixed; right:18px; bottom:18px; height:48px; padding:0 16px; border-radius:999px; background:var(--blue); color:#fff; text-decoration:none; font-weight:900; display:inline-flex; align-items:center; justify-content:center; box-shadow: var(--shadow); border:1px solid rgba(255,255,255,.2);}
.wa-float{gap:8px}
.wa-float svg{width:18px; height:18px}

/* Videos */
.video-card__head h3{margin:0 0 6px}
.video-card{
  padding:20px;
  background:linear-gradient(180deg, #ffffff, #f8fbff);
}
.video-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin-top:12px;
}
.video-grid iframe{
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  border:0;
  border-radius:14px;
  background:#000;
  box-shadow:0 12px 24px rgba(2, 6, 23, .18);
}

/* Machine Table */
.table-wrap{padding:16px}
.table-actions{display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:12px;}
.table-search{flex:1; min-width:240px; border:1px solid var(--border); border-radius:14px; padding:12px 12px; font-size:14px; outline:none;}
.table-search:focus{border-color:#cfe0ff; box-shadow: 0 0 0 4px rgba(11,42,91,.08);}
.table-scroll{overflow:auto; border:1px solid var(--border); border-radius:16px;}
.table{width:100%; border-collapse:separate; border-spacing:0; min-width:880px; background:#fff;}
.production-table{min-width:760px}
.table thead th{position:sticky; top:0; background:#f8fafc; z-index:1; text-align:left; font-size:13px; padding:12px; border-bottom:1px solid var(--border);}
.table tbody td{padding:12px; border-bottom:1px solid var(--border); font-size:14px; color:var(--sub)}
.table tbody tr:hover td{background:#fafcff; color:var(--text)}
.table tbody td strong{color:var(--text)}
.badge-pill{display:inline-block; padding:6px 10px; border-radius:999px; font-weight:800; font-size:12px; border:1px solid #d8e6ff; background:#eef4ff; color:var(--blue)}
.badge-pill--ok{border-color:#c7f3d1; background:#ecfdf3; color:#166534}
.badge-pill--hold{border-color:#fde68a; background:#fffbeb; color:#92400e}

/* Inner pages */
.page-title{margin:0 0 10px; font-size:38px; letter-spacing:-.02em; line-height:1.1}

.media-grid{display:grid; gap:14px}
.media-grid--3{grid-template-columns:repeat(3, 1fr)}
.media-card{margin:0; background:#fff; border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 6px 18px rgba(2,6,23,.05)}
.media-card img{display:block; width:100%; aspect-ratio:16 / 10; object-fit:cover; background:#f8fafc}
.media-card figcaption{padding:10px 12px; color:var(--sub); font-size:14px; font-weight:600}

.video-gallery-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px}
.video-gallery-grid iframe{width:100%; height:200px; border:0; border-radius:12px; background:#000}

.owner-wrap{display:grid; grid-template-columns:340px 1fr; gap:18px; align-items:start}
.owner-image{width:100%; border-radius:14px; border:1px solid var(--border); object-fit:cover}
.owner-content h2{margin:0 0 8px}
.vision-text{margin:8px 0 0; color:var(--sub); line-height:1.75}

/* Responsive */
@media (max-width: 900px){
  h1{font-size:36px}
  .hero__grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}

  .nav__toggle{display:block}
  .nav{position:fixed; top:66px; right:18px; left:18px; display:none; flex-direction:column; gap:12px; padding:14px; background:#fff; border:1px solid var(--border); border-radius:18px; box-shadow: var(--shadow);}
  .nav.open{display:flex}

  .video-grid{grid-template-columns:1fr}
  .video-grid iframe{aspect-ratio:16 / 9}

  .media-grid--3{grid-template-columns:1fr}
  .video-gallery-grid{grid-template-columns:1fr}
  .owner-wrap{grid-template-columns:1fr}
  .footer-bar__inner{grid-template-columns:1fr 1fr}
  .map-wrap iframe{height:220px}
}
