/* ========== Reset & Base ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #0a84ff; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Authorized Dealer Bar ========== */
.top-bar {
  background: linear-gradient(90deg, #0a84ff, #0066cc);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .3px;
}
.top-bar strong { font-weight: 600; margin-right: 6px; }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #0a84ff;
}
.logo img { height: 30px; width: auto; display: block; }
.footer-brand .logo img { height: 28px; filter: brightness(0) invert(1); opacity: .9; }
.logo-badge {
  font-size: 10px;
  background: #e8f2ff;
  color: #0066cc;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .4px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: #333; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary { background: #0a84ff; color: #fff; }
.btn-primary:hover { background: #0066cc; color: #fff; }
.btn-outline { border: 1.5px solid #0a84ff; color: #0a84ff; }
.btn-outline:hover { background: #0a84ff; color: #fff; }
.menu-toggle { display: none; font-size: 24px; color: #333; }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: #fff;
  color: #0066cc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #cfe2ff;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero h1 span { color: #0a84ff; }
.hero p {
  font-size: 18px;
  color: #555;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(10, 132, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 12/5; /* default fits the 1920x780 homepage banner */
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Modifier: roughly square photo (e.g. about-community 750x588) */
.hero-image.is-photo { aspect-ratio: 5/4; }
.hero-image.is-photo img { object-fit: cover; }
/* Modifier: square illustration (e.g. about-country 450x450) */
.hero-image.is-illus {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f7faff, #eaf2ff);
}
.hero-image.is-illus img { object-fit: contain; padding: 28px; }

/* ========== Section ========== */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.8px;
  margin-bottom: 12px;
}
.section-head p { color: #666; font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ========== Products Grid ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
  border-color: #cfe2ff;
}
.product-visual {
  aspect-ratio: 358/465; /* matches the source product photography exactly */
  background: linear-gradient(135deg, #f7faff, #eaf2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.product-card:hover .product-visual img { transform: scale(1.04); }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-tag {
  font-size: 11px;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-body h3 { font-size: 18px; margin-bottom: 6px; }
.product-body p { color: #666; font-size: 14px; margin-bottom: 16px; flex: 1; }
.product-price { font-weight: 700; font-size: 18px; color: #1a1a1a; margin-bottom: 12px; }
.product-price s { color: #aaa; font-weight: 400; font-size: 14px; margin-left: 6px; }

/* ========== Features ========== */
.features {
  background: #0f1419;
  color: #fff;
}
.features h2 { color: #fff; }
.features .section-head p { color: #aaa; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature-item {
  padding: 28px;
  background: #1a2028;
  border-radius: 16px;
  border: 1px solid #252d38;
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.feature-item h3 { font-size: 18px; margin-bottom: 8px; }
.feature-item p { color: #aaa; font-size: 14px; }

/* ========== Dealer trust section ========== */
.trust {
  background: #f8fafc;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item {
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef5;
}
.trust-item .icon { font-size: 40px; margin-bottom: 12px; }
.trust-item h4 { font-size: 16px; margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: #666; }

/* ========== Testimonials ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px;
}
.stars { color: #ffb700; font-size: 16px; margin-bottom: 12px; }
.testimonial p { color: #444; font-size: 15px; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff, #6f42c1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-author strong { font-size: 14px; display: block; }
.testimonial-author span { font-size: 12px; color: #888; }

/* ========== CTA band ========== */
.cta-band {
  background: linear-gradient(135deg, #0a84ff, #0066cc);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: 24px;
  margin: 40px 24px;
}
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-band .btn-primary { background: #fff; color: #0066cc; }
.cta-band .btn-primary:hover { background: #f0f0f0; color: #0066cc; }

/* ========== Footer ========== */
footer {
  background: #0f1419;
  color: #aaa;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h5 { color: #fff; margin-bottom: 16px; font-size: 14px; letter-spacing: .5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 14px; }
footer a:hover { color: #0a84ff; }
.footer-brand p { font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid #252d38;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .dealer-note {
  font-size: 12px;
  color: #666;
  max-width: 620px;
}

/* ========== Page specific ========== */
.page-hero {
  background: linear-gradient(135deg, #f5f9ff 0%, #eaf2ff 100%);
  padding: 64px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.page-hero p { color: #555; font-size: 17px; max-width: 640px; margin: 0 auto; }

.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: #f0f4fa;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
}
.filter-chip.active, .filter-chip:hover {
  background: #0a84ff;
  color: #fff;
}

/* About content */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid h2 { font-size: 32px; letter-spacing: -.6px; margin-bottom: 16px; }
.about-grid p { color: #555; margin-bottom: 14px; }
.cert-list { list-style: none; }
.cert-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cert-list li::before { content: "✓"; color: #0a84ff; font-weight: 700; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { margin-bottom: 16px; font-size: 22px; }
.contact-info .item {
  margin-bottom: 20px;
  padding-left: 32px;
  position: relative;
}
.contact-info .item::before {
  position: absolute;
  left: 0; top: 2px;
  font-size: 20px;
}
.contact-info .addr::before { content: "📍"; }
.contact-info .mail::before { content: "✉️"; }
.contact-info .phone::before { content: "☎️"; }
.contact-info .hour::before { content: "🕐"; }
.contact-info strong { display: block; margin-bottom: 4px; }
.contact-info p { color: #555; font-size: 14px; }

form.contact-form { background: #f8fafc; padding: 32px; border-radius: 18px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; margin-bottom: 6px; font-weight: 600; color: #333; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: #0a84ff;
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.support-card {
  padding: 32px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  text-align: center;
  transition: all .25s;
}
.support-card:hover { border-color: #cfe2ff; box-shadow: 0 8px 24px rgba(10,132,255,.08); }
.support-card .icon { font-size: 42px; margin-bottom: 14px; }
.support-card h3 { margin-bottom: 8px; font-size: 18px; }
.support-card p { color: #666; font-size: 14px; margin-bottom: 16px; }

.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #eaeaea;
  padding: 20px 0;
}
.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 22px; color: #0a84ff; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: #555; font-size: 14px; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
  .page-hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 20px; border-bottom: 1px solid #eee;
    gap: 16px;
  }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-image { font-size: 120px; padding: 24px; }
  .cta-band { margin: 20px 16px; padding: 40px 20px; }
  .cta-band h2 { font-size: 24px; }
}
