/* Ainong — corporate site stylesheet */
:root {
  --navy: #123a63;
  --navy-dark: #0c2947;
  --blue: #1b5a96;
  --red: #c8102e;
  --ink: #22303f;
  --gray: #5c6b7a;
  --line: #e3e8ee;
  --bg: #f5f7fa;
  --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header { background: var(--white); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 50; }
.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: 44px; height: 44px; border-radius: 6px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.brand strong { font-size: 21px; letter-spacing: 2px; 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 14px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 4px; }
.main-nav a:hover { color: var(--red); background: var(--bg); }
.main-nav a.active { color: var(--red); }
.btn {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  padding: 12px 26px; border-radius: 4px; border: none; cursor: pointer; font-size: 15px;
}
.btn:hover { background: #a50d26; color: #fff; }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-header { white-space: nowrap; padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; color: #fff; }
.hero-slide { position: relative; min-height: 480px; display: flex; align-items: center; }
.hero-slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,45,0.82) 0%, rgba(10,25,45,0.45) 55%, rgba(10,25,45,0.15) 100%); }
.hero-content { position: relative; padding: 80px 24px; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: 44px; line-height: 1.15; max-width: 620px; letter-spacing: 0.3px; }
.hero p.lead { font-size: 18px; margin: 18px 0 30px; max-width: 560px; color: #dbe5ef; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.hero-dots span.on { background: #fff; }

/* Sections */
section.block { padding: 64px 0; }
section.block.tint { background: var(--bg); }
.sec-title { text-align: center; margin-bottom: 12px; }
.sec-title h2 { font-size: 30px; color: var(--navy); }
.sec-title .sub { color: var(--gray); margin-top: 6px; }
.sec-title .rule { width: 56px; height: 4px; background: var(--red); margin: 14px auto 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 6px; padding: 24px; text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--navy); }
.stat span { color: var(--gray); font-size: 14px; }

/* Category & product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  color: var(--ink); transition: box-shadow 0.2s, transform 0.2s; display: block;
}
.card:hover { box-shadow: 0 8px 24px rgba(12, 41, 71, 0.14); transform: translateY(-3px); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 17px; color: var(--navy); margin: 8px 0 4px; line-height: 1.35; }
.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: 3px 10px; border-radius: 20px; letter-spacing: 0.4px;
}

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; }
.why-item .num { font-size: 15px; font-weight: 800; color: var(--red); letter-spacing: 1px; }
.why-item h3 { font-size: 17.5px; color: var(--navy); margin: 8px 0; }
.why-item p { color: var(--gray); font-size: 14.5px; }

/* Filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 6px; }
.filters a {
  padding: 9px 20px; border: 1px solid var(--line); border-radius: 24px;
  color: var(--ink); font-weight: 600; font-size: 14px; background: #fff;
}
.filters a:hover { border-color: var(--red); color: var(--red); }
.filters a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-top: 40px; }
.pd-img { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg); }
.pd-img img { width: 100%; height: auto; }
.pd h1 { font-size: 28px; color: var(--navy); line-height: 1.3; }
.pd .hp-line { margin: 10px 0 16px; }
.pd p.blurb { color: var(--gray); margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; text-align: left; }
.spec-table th { background: var(--bg); color: var(--navy); width: 42%; font-weight: 600; }

/* Tables generic */
table.plain { width: 100%; border-collapse: collapse; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14.5px; }
table.plain th { background: var(--navy); color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.about-grid h2 { color: var(--navy); font-size: 28px; margin-bottom: 16px; }
.about-grid p { color: var(--gray); margin-bottom: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.gallery figure { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.gallery img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--gray); }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.dl-card { border: 1px solid var(--line); border-radius: 6px; padding: 28px; background: #fff; }
.dl-card h3 { color: var(--navy); margin-bottom: 8px; }
.dl-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.dl-meta { color: var(--gray); font-size: 13px; margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 40px; }
.contact-info .item { border-left: 4px solid var(--red); padding: 6px 0 6px 18px; margin-bottom: 22px; }
.contact-info b { color: var(--navy); display: block; font-size: 15px; }
.contact-info span, .contact-info a { font-size: 16px; }
form.quote label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; color: var(--navy); }
form.quote input, form.quote textarea, form.quote select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; font-family: inherit;
}
form.quote input:focus, form.quote textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
form.quote button { margin-top: 22px; }

/* CTA band */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { color: #c7d5e3; margin-bottom: 26px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #aebfd0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 52px 24px 30px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.site-footer p { font-size: 14px; line-height: 1.8; }
.site-footer a { color: #aebfd0; }
.site-footer a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #7e93a8; }

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

/* Responsive */
@media (max-width: 960px) {
  .grid, .grid.four, .why-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .pd, .about-grid, .contact-grid, .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 32px; }
  .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; }
}
