/* ============ DentCera Global Site Styles ============ */
:root {
  --blue-900: #0b2a4a;
  --blue-700: #123f6d;
  --blue-600: #1a5a9e;
  --blue-500: #2273c4;
  --blue-100: #e3f0fb;
  --blue-50: #f2f8fd;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.10);
  --max: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; max-width: 180px; object-fit: contain; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; letter-spacing: -1px;
}
.logo-text { font-size: 22px; font-weight: 800; color: var(--blue-900); }
.logo-text span { color: var(--blue-500); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: all .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue-600); border-bottom-color: var(--blue-500); }
.header-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(34,115,196,.35); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--blue-600); border: 2px solid var(--blue-600); }
.btn-outline:hover { background: var(--blue-50); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(120deg, rgba(11,42,74,.92) 0%, rgba(26,90,158,.78) 55%, rgba(34,115,196,.55) 100%), url("../images/hero-family.jpg") center/cover no-repeat;
  padding: 130px 0 140px;
}
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.15; font-weight: 800; max-width: 720px; }
.hero p.sub { font-size: 19px; margin: 22px 0 36px; max-width: 640px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { background: var(--blue-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stat b { font-size: 30px; display: block; }
.stat span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--blue-50); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head .kicker { color: var(--blue-500); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: 36px; color: var(--blue-900); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.product-card img { height: 200px; width: 100%; object-fit: cover; }
.product-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 17px; color: var(--blue-900); }
.product-card p { font-size: 14px; color: var(--muted); flex: 1; }
.product-card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue-600);
  background: var(--blue-100); padding: 3px 10px; border-radius: 999px;
}

/* ---------- Feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; color: var(--blue-900); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: 34px; color: var(--blue-900); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.check-list { margin: 18px 0 26px; }
.check-list li { padding: 7px 0 7px 32px; position: relative; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-600);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- Detail page hero ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-600));
  color: #fff; padding: 76px 0;
}
.page-hero h1 { font-size: 42px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 640px; }

/* ---------- Product detail rows ---------- */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; }
.product-row + .product-row { border-top: 1px solid var(--line); }
.product-row img { border-radius: var(--radius); box-shadow: var(--shadow); }
.product-row h3 { font-size: 26px; color: var(--blue-900); margin-bottom: 12px; }
.product-row p { color: var(--muted); margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
.spec-table th { background: var(--blue-50); color: var(--blue-900); width: 38%; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-card {
  background: var(--blue-900); color: #fff; border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info-card li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; font-size: 15px; }
.contact-info-card li .ico { font-size: 20px; }
.contact-info-card a { color: #9cc9f5; word-break: break-all; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form label { font-size: 14px; font-weight: 600; color: var(--blue-900); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; transition: border .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue-500);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500));
  color: #fff; text-align: center; padding: 70px 24px; border-radius: var(--radius);
}
.cta-band h2 { font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.8); margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 38px; }
  .product-grid, .feature-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap, .product-row { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 100px; }
  .hero h1 { font-size: 32px; }
  .form-grid { grid-template-columns: 1fr; }
}
