/* ============================================================
   Really Reliable（瑞利来）— Brochure Site Stylesheet
   Pure CSS, no external dependencies, system fonts only
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { 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: #1a2333;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.25;
  color: #0d1f3c;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: #f4f7fb;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 12px;
}

.section-lead {
  max-width: 680px;
  color: #3d4f6a;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.divider {
  width: 48px;
  height: 3px;
  background: #2563eb;
  margin: 14px 0 32px;
}

/* ── Nav ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.nav-brand {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.03em;
}

.nav-brand span {
  color: #60a5fa;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

/* ── Language Toggle ──────────────────────────────────────── */
.lang-toggle {
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
}

/* ── Bilingual show / hide ────────────────────────────────── */
html.lang-zh .lang-en { display: none !important; }
html:not(.lang-zh) .lang-zh { display: none !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: #0d1f3c;
  color: #fff;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 680px;
}

.hero-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-tagline {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 3px;
}

/* ── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,31,60,0.15);
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ── Products ─────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card {
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,31,60,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card-link:hover .product-card {
  box-shadow: 0 8px 32px rgba(13,31,60,0.16);
  transform: translateY(-3px);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #e8edf5;
  padding: 8px;
}

.product-card-body {
  padding: 22px 24px 26px;
}

.product-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 6px;
}

.product-card-body h3 {
  margin-bottom: 10px;
}

.product-card-body ul {
  padding-left: 18px;
  color: #3d4f6a;
  font-size: 0.92rem;
}

.product-card-body li {
  margin-bottom: 4px;
}

.product-badge {
  display: inline-block;
  margin-top: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

.card-cta {
  margin-top: 14px;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ── Technical Advantage ──────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.tech-image {
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  background: #e8edf5;
  padding: 24px;
}

.tech-image img {
  max-width: 100%;
  height: auto;
}

.tech-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.tech-points li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.tech-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #1d4ed8;
  font-weight: 700;
  margin-top: 2px;
}

.tech-points strong {
  display: block;
  font-size: 0.97rem;
  color: #0d1f3c;
  margin-bottom: 2px;
}

.tech-points span {
  font-size: 0.88rem;
  color: #3d4f6a;
}

/* ── Customers ────────────────────────────────────────────── */
.customers-intro {
  max-width: 620px;
  color: #3d4f6a;
  margin-bottom: 36px;
}

.customer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.customer-tag {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2333;
  white-space: nowrap;
}

.timeline {
  display: flex;
  gap: 0;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.timeline-item {
  flex: 1;
  padding: 20px 18px;
  border-right: 1px solid #dde4ef;
  text-align: center;
}

.timeline-item:last-child { border-right: none; }

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.timeline-event {
  font-size: 0.84rem;
  color: #3d4f6a;
  line-height: 1.4;
}

/* ── Case Study ───────────────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.case-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13,31,60,0.12);
}

.case-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.case-specs {
  background: #f4f7fb;
  border-radius: 6px;
  padding: 22px 24px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.case-specs h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563eb;
  margin-bottom: 10px;
}

.case-specs dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 16px;
}

.case-specs dt {
  font-weight: 600;
  color: #0d1f3c;
  white-space: nowrap;
}

.case-specs dd {
  color: #3d4f6a;
}

.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-box {
  background: #0d1f3c;
  color: #fff;
  border-radius: 6px;
  padding: 18px 16px;
  text-align: center;
}

.result-number {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 6px;
}

.result-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ── Service ──────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(13,31,60,0.06);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card ul {
  padding-left: 16px;
  font-size: 0.9rem;
  color: #3d4f6a;
}

.service-card li {
  margin-bottom: 5px;
}

.service-coverage {
  margin-top: 40px;
  background: #0d1f3c;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-coverage strong {
  color: #93c5fd;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  list-style: none;
  margin-top: 4px;
}

.contact-details li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e8edf5;
  align-items: flex-start;
  font-size: 0.95rem;
}

.contact-details li:last-child { border-bottom: none; }

.contact-details .c-label {
  font-weight: 700;
  color: #0d1f3c;
  min-width: 90px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.contact-details .c-value {
  color: #3d4f6a;
}

.contact-details a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-note {
  margin-top: 24px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: #1e40af;
}

.contact-map-placeholder {
  background: #f4f7fb;
  border: 1px solid #dde4ef;
  border-radius: 8px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  gap: 10px;
}

.map-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #070f1e;
  color: #94a3b8;
  padding: 36px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: bold;
}

.footer-copy {
  color: #64748b;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .tech-grid,
  .case-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    flex-direction: column;
  }

  .timeline-item {
    border-right: none;
    border-bottom: 1px solid #dde4ef;
    text-align: left;
  }

  .timeline-item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .section { padding: 48px 0; }

  .case-results { grid-template-columns: 1fr; }

  .hero { min-height: 420px; }

  .hero-content { padding: 56px 0; }

  .footer-inner { flex-direction: column; text-align: center; }

  .lang-toggle { font-size: 0.75rem; padding: 4px 10px; }
}

/* ── Email notice (setup in progress) ────────────────────── */
.email-notice {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
  font-style: italic;
}
