/* Ainong — corporate site stylesheet v2 */
:root {
  --navy: #0f3057;
  --navy-dark: #0a2240;
  --blue: #1b5a96;
  --red: #c8102e;
  --red-dark: #a50d26;
  --ink: #1e2a38;
  --gray: #5f6e7e;
  --line: #e4e9ef;
  --bg: #f4f6f9;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15, 48, 87, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 48, 87, 0.12);
  --shadow-lg: 0 14px 40px rgba(15, 48, 87, 0.18);
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Helvetica Neue", "Segoe UI", Arial, "PingFang SC", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--blue); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #c2d0de; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #dce6f0; font-weight: 600; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(15, 48, 87, 0.06);
}
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 180px, transparent 180px);
}
.header-row { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, #e02540, var(--red-dark));
  color: #fff; font-weight: 800; font-size: 27px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.35);
}
.brand strong { font-size: 21px; letter-spacing: 2.5px; color: var(--navy); display: block; line-height: 1.1; }
.brand small { color: var(--gray); font-size: 11.5px; letter-spacing: 0.4px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 10px 15px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 6px; position: relative; }
.main-nav a:hover { color: var(--red); background: var(--bg); }
.main-nav a.active { color: var(--red); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 3px; border-radius: 2px; background: var(--red);
}
.btn {
  display: inline-block; background: linear-gradient(135deg, #e02540, var(--red-dark));
  color: #fff; font-weight: 700; padding: 13px 30px; border-radius: 8px;
  border: none; cursor: pointer; font-size: 15px; letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32); transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(200, 16, 46, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: none; backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--navy); box-shadow: none; }
.btn-header { white-space: nowrap; padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-slide { position: relative; min-height: 560px; display: flex; align-items: center; }
.hero-slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 41, 0.88) 0%, rgba(8, 22, 41, 0.55) 50%, rgba(8, 22, 41, 0.18) 100%); }
.hero-content { position: relative; padding: 90px 24px; max-width: 1180px; margin: 0 auto; width: 100%; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 3px;
  color: #ffd7dd; text-transform: uppercase; margin-bottom: 16px;
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 20px;
  background: rgba(200, 16, 46, 0.55); backdrop-filter: blur(3px);
}
.hero h1 { font-size: 46px; line-height: 1.14; max-width: 640px; letter-spacing: 0.3px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero p.lead { font-size: 18px; margin: 20px 0 34px; max-width: 580px; color: #dbe5ef; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 2; }
.hero-dots span { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: background 0.2s; }
.hero-dots span.on { background: #fff; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.tint { background: var(--bg); }
.sec-title { text-align: center; margin-bottom: 14px; }
.sec-title .kicker2 {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 3px;
  color: var(--red); text-transform: uppercase; margin-bottom: 10px;
}
.sec-title h2 { font-size: 32px; color: var(--navy); font-weight: 800; letter-spacing: 0.3px; }
.sec-title .sub { color: var(--gray); margin-top: 8px; font-size: 16px; }
.sec-title .rule { width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red), #e86a7d); margin: 16px auto 0; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); border-radius: var(--radius); padding: 40px 30px; margin-top: 44px; box-shadow: var(--shadow-lg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px 12px; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 36px; color: #fff; font-weight: 800; }
.stat span { color: #b9cbdd; font-size: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); transition: box-shadow 0.25s, transform 0.25s; display: block;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 17px; color: var(--navy); margin: 10px 0 5px; line-height: 1.4; font-weight: 700; }
.card-body .model { color: var(--gray); font-size: 13.5px; }
.chip {
  display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 0.4px;
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
.why-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-item .num { font-size: 14px; font-weight: 800; color: var(--red); letter-spacing: 2px; }
.why-item h3 { font-size: 18px; color: var(--navy); margin: 10px 0 8px; }
.why-item p { color: var(--gray); font-size: 14.5px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 38px 0 6px; }
.filters a {
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 26px;
  color: var(--ink); font-weight: 600; font-size: 14px; background: #fff;
  transition: all 0.15s;
}
.filters a:hover { border-color: var(--red); color: var(--red); }
.filters a.on { background: linear-gradient(135deg, #e02540, var(--red-dark)); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; margin-top: 42px; }
.pd-img { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-md); }
.pd-img img { width: 100%; height: auto; }
.pd h1 { font-size: 30px; color: var(--navy); line-height: 1.3; font-weight: 800; }
.pd .hp-line { margin: 14px 0 18px; }
.pd p.blurb { color: var(--gray); margin-bottom: 24px; font-size: 16px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 11px 16px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #fafbfc; }
.spec-table th { background: var(--bg); color: var(--navy); width: 42%; font-weight: 700; border-right: 1px solid var(--line); }

/* ---------- About / gallery ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; margin-top: 40px; }
.about-grid h2 { color: var(--navy); font-size: 30px; margin-bottom: 18px; font-weight: 800; }
.about-grid p { color: var(--gray); margin-bottom: 15px; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--gray); }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.dl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dl-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 20px; }
.dl-card p { color: var(--gray); font-size: 15px; margin-bottom: 18px; }
.dl-meta { color: var(--gray); font-size: 13px; margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; margin-top: 44px; }
.contact-info .item { border-left: 4px solid var(--red); padding: 6px 0 6px 20px; margin-bottom: 24px; }
.contact-info b { color: var(--navy); display: block; font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-info span, .contact-info a { font-size: 17px; }
form.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-md); }
form.quote label { display: block; font-weight: 700; font-size: 13.5px; margin: 16px 0 7px; color: var(--navy); letter-spacing: 0.4px; }
form.quote input, form.quote textarea, form.quote select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fbfcfd; transition: outline 0.1s, border 0.1s;
}
form.quote input:focus, form.quote textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); background: #fff; }
form.quote button { margin-top: 24px; }

/* ---------- CTA band ---------- */
.cta {
  background:
    linear-gradient(rgba(10, 34, 64, 0.88), rgba(10, 34, 64, 0.88)),
    url("../assets/field_demo_1.jpg") center / cover no-repeat;
  color: #fff; text-align: center; padding: 72px 0;
}
.cta h2 { font-size: 30px; margin-bottom: 12px; font-weight: 800; }
.cta p { color: #c7d5e3; margin-bottom: 30px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #a9bccd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding: 56px 24px 34px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16.5px; }
.site-footer p { font-size: 14px; line-height: 1.9; }
.site-footer a { color: #a9bccd; }
.site-footer a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: #7e93a8; }

/* ---------- Breadcrumb ---------- */
.crumb { color: var(--gray); font-size: 13.5px; margin: 28px 0 0; }
.crumb a { color: var(--gray); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid, .grid.four, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 16px; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .pd, .about-grid, .contact-grid, .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 33px; }
  .hero-slide { min-height: 480px; }
  .main-nav { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid, .grid.four, .why-grid, .stats, .gallery { grid-template-columns: 1fr; }
  .topbar .wrap { flex-direction: column; gap: 2px; }
  .hero h1 { font-size: 28px; }
  section.block { padding: 52px 0; }
}
