/* BINTEC official site — shared styles */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #0b5fff;
  --brand-ink: #ffffff;
  --accent: #ff9900; /* Amazon CTA */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --max: 1160px;
}
/* Region accents */
.region-jp { --brand: #c8102e; --brand-soft: #fdecee; }
.region-ca { --brand: #d52b1e; --brand-soft: #fdeceb; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .12em; text-decoration: none; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.region-switch { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: 15px; transition: transform .15s, box-shadow .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-amazon { background: var(--accent); color: #111; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--brand-soft, #eef3ff), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 72px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft, #eef3ff); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.2; margin: 0 0 18px; letter-spacing: -.01em; }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.hero-badges span::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }
.hero-img { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 18px; }
.hero-img img { border-radius: 16px; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }

/* Sections */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; line-height: 1.3; }
.section-head p { color: var(--muted); margin: 0; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft, #eef3ff); color: var(--brand); font-size: 24px; margin-bottom: 16px; }

/* Products */
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-img { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.product-img img { max-height: 100%; object-fit: contain; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-tag { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.product h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.specs { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-size: 12.5px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink-2); }
.product .btn { margin-top: auto; align-self: flex-start; }

/* Illustrated product (no photo) */
.illus { width: 78%; aspect-ratio: 16/10; border-radius: 10px 10px 4px 4px; background: linear-gradient(135deg, #1e293b, #334155); position: relative; box-shadow: inset 0 0 0 6px #0f172a; }
.illus::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -14px; height: 14px; border-radius: 0 0 14px 14px; background: linear-gradient(#cbd5e1, #94a3b8); }
.illus span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; letter-spacing: .2em; font-size: 18px; }
.illus.tablet { width: 56%; aspect-ratio: 10/7; border-radius: 14px; box-shadow: inset 0 0 0 8px #0f172a; }
.illus.tablet::after { display: none; }

/* Repair highlight (JP) */
.repair { background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; }
.repair .section-head p { color: #cbd5e1; }
.repair .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.repair .card p { color: #cbd5e1; }
.repair .icon { background: rgba(255,255,255,.1); color: #fff; }
.location { position: relative; }
.location .pin { font-size: 13px; font-weight: 700; color: #fca5a5; letter-spacing: .08em; }
.location h3 { font-size: 24px; margin: 6px 0 10px; }
.location ul { margin: 14px 0 0; padding-left: 20px; color: #e2e8f0; font-size: 15px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { text-align: center; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-size: 30px; }
.stat span { color: #cbd5e1; font-size: 14px; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 22px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 6px 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin: 0 0 26px; opacity: .9; }

/* Footer */
.site-footer { background: #0b1220; color: #94a3b8; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copyright { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; font-size: 12.5px; }

/* Region gateway */
.gateway { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(900px 500px at 50% -10%, #eef3ff, transparent 60%), var(--bg-soft); padding: 40px 20px; }
.gateway-inner { text-align: center; max-width: 820px; width: 100%; }
.gateway .logo { font-size: 40px; display: inline-block; margin-bottom: 8px; }
.gateway p { color: var(--muted); margin: 0 0 40px; }
.region-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.region-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px 24px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.region-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cbd5e1; }
.region-card .flag { font-size: 52px; line-height: 1; }
.region-card h2 { margin: 16px 0 4px; font-size: 22px; }
.region-card span { color: var(--muted); font-size: 14px; }
.region-card.suggested { border: 2px solid var(--brand); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0; }
  .hero-img { max-width: 360px; margin: 0 auto; padding: 12px; }
  .grid-3, .grid-4, .steps, .stat-row, .region-cards, .footer-grid { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
}
