/* ========================================
   Sea Eagle Japan — Global Styles
   ======================================== */

:root {
  --blue:       #0071e3;
  --blue-dark:  #0060c0;
  --navy:       #1d2b3a;
  --white:      #ffffff;
  --off-white:  #f5f5f7;
  --text:       #1d1d1f;
  --text-secondary: #6e6e73;
  --border:     #d2d2d7;
  --success:    #28a745;
  --gold:       #c8a951;

  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

  --nav-h: 52px;
  --max-w: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-en); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 980px; font-size: .9375rem; font-weight: 600;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover { background: var(--off-white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #2d3d50; }

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .3s;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem;
  color: var(--navy);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { font-size: .75rem; font-weight: 500; color: var(--text-secondary); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 6px 12px; border-radius: 6px; font-size: .875rem; font-weight: 500;
  color: var(--text); transition: background .15s;
}
.nav-links a:hover { background: rgba(0,0,0,.06); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: var(--off-white); border-radius: 980px; padding: 3px;
}
.lang-btn {
  padding: 4px 12px; border-radius: 980px; font-size: .8125rem; font-weight: 600;
  transition: all .2s; color: var(--text-secondary);
}
.lang-btn.active {
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* Hamburger */
.nav-hamburger { display: none; padding: 8px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: .3s;
}

/* ── Hero ── */
#hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--navy);
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1f2d 0%, #1a3a5c 50%, #0a2a4a 100%);
}
.hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: .22; }
.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 80px 24px;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 980px; padding: 6px 16px;
  font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 28px; backdrop-filter: blur(8px);
}
.hero-content h1 {
  color: var(--white); margin-bottom: 20px;
  font-size: clamp(2.2rem, 6vw, 4rem);
}
.hero-content h1 .accent { color: #5bc4f5; }
.hero-content p {
  color: rgba(255,255,255,.72); font-size: 1.2rem; margin-bottom: 40px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .8rem; display: flex; flex-direction: column;
  align-items: center; gap: 8px; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── Section base ── */
section { padding: 96px 0; }
section.alt { background: var(--off-white); }
.section-tag {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 540px; }

/* ── Trust bar ── */
#trust {
  padding: 32px 0;
  background: var(--navy); color: var(--white);
}
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; }
.trust-item svg { opacity: .9; }

/* ── Categories grid ── */
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card-label {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
}
.cat-card-label h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.cat-card-label span { color: rgba(255,255,255,.7); font-size: .875rem; }

/* ── Products grid ── */
#products { background: var(--white); }
.products-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 40px;
}
.filter-btn {
  padding: 8px 18px; border-radius: 980px; font-size: .875rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text-secondary);
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.product-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s; background: var(--white);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--off-white);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.product-card-subtitle { font-size: .875rem; color: var(--text-secondary); margin-bottom: 12px; }
.product-card-blurb {
  font-size: .875rem; color: var(--text-secondary); line-height: 1.5;
  margin-bottom: 16px;
}
.product-card-price {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin-top: auto; margin-bottom: 12px;
}
.product-card-price small { font-size: .75rem; font-weight: 400; color: var(--text-secondary); }

/* ── Image carousel ── */
.carousel { position: relative; overflow: hidden; }
.carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.carousel img.active { opacity: 1; position: relative; pointer-events: auto; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--navy);
  font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; z-index: 2;
}
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }
.carousel-arrow:hover { background: #fff; }
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.cdot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55);
  transition: background .2s, transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.cdot.active { background: #fff; transform: scale(1.3); }
.stock-card-img {
  position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
  background: var(--off-white); margin-bottom: 4px;
}
.product-card-actions { display: flex; gap: 8px; }
.product-card-actions .btn { flex: 1; padding: 9px 12px; font-size: .8125rem; }
.in-stock-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e6f7ee; color: #1a7a40; border-radius: 980px;
  padding: 3px 10px; font-size: .75rem; font-weight: 700;
}

/* ── Pierre section ── */
#pierre {
  background: var(--navy); color: var(--white);
}
.pierre-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.pierre-img {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.pierre-img img { width: 100%; }
.pierre-content .section-tag { color: #5bc4f5; }
.pierre-content h2 { color: var(--white); margin-bottom: 20px; }
.pierre-content p { color: rgba(255,255,255,.72); margin-bottom: 16px; }
.pierre-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0;
}
.stat-box {
  background: rgba(255,255,255,.08); border-radius: 12px; padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── Discount callout ── */
#discount {
  background: linear-gradient(135deg, #0047ab, #0071e3);
  color: var(--white); text-align: center; padding: 80px 0;
}
#discount h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
#discount p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 560px; margin: 0 auto 32px; }
.discount-number {
  font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: 1;
  color: var(--white); letter-spacing: -.04em;
  margin-bottom: 8px;
}

/* ── Japan Stock ── */
#japan-stock { background: var(--off-white); }
.stock-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
  margin-top: 40px;
}
.stock-card {
  background: var(--white); border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px;
}
.stock-card-name { font-weight: 700; font-size: 1rem; }
.stock-card-desc { font-size: .875rem; color: var(--text-secondary); }
.stock-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.stock-price { font-weight: 800; font-size: 1.125rem; color: var(--navy); }
.stock-qty {
  font-size: .8125rem; font-weight: 600;
  background: #e6f7ee; color: #1a7a40; border-radius: 980px; padding: 3px 10px;
}
.stock-qty.low { background: #fff3e0; color: #b45309; }
.stock-qty.order { background: #eef2f7; color: #5a6b7b; }

/* ── Contact ── */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 48px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-size: .9375rem;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail strong { font-weight: 600; min-width: 60px; }
.contact-detail a { color: var(--blue); }
.contact-detail a:hover { text-decoration: underline; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font: inherit; font-size: .9375rem;
  transition: border .2s, box-shadow .2s; background: var(--white);
  color: var(--text);
}
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8125rem; color: var(--text-secondary); margin-top: 12px; }
.form-success {
  display: none; background: #e6f7ee; color: #1a7a40;
  border-radius: 10px; padding: 16px; font-weight: 600; margin-top: 16px;
}

/* ── Company info strip ── */
#company-strip {
  background: var(--off-white); padding: 40px 0; border-top: 1px solid var(--border);
}
.company-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.company-item { font-size: .875rem; }
.company-item strong { display: block; color: var(--text); margin-bottom: 2px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; }
.company-item span { color: var(--text-secondary); }

/* ── Footer ── */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 40px 0; font-size: .875rem;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-weight: 700; color: var(--white); font-size: 1rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--white); }

/* ── Admin page ── */
.admin-header {
  background: var(--navy); color: var(--white); padding: 20px 24px;
  font-size: 1.25rem; font-weight: 700;
}
.admin-body { max-width: 900px; margin: 40px auto; padding: 0 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border); font-size: .9375rem;
}
.admin-table th { font-weight: 700; background: var(--off-white); }
.admin-table input[type=number], .admin-table input[type=text] {
  width: 80px; padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px;
  font: inherit; font-size: .875rem;
}
.admin-table input[type=number]:focus, .admin-table input[type=text]:focus {
  outline: none; border-color: var(--blue);
}
.admin-save {
  margin: 32px 0; display: flex; gap: 12px; align-items: center;
}
.admin-msg { font-weight: 600; color: var(--success); display: none; }
.toggle-visible {
  width: 40px; height: 22px; background: var(--border); border-radius: 980px;
  position: relative; cursor: pointer; transition: background .2s;
}
.toggle-visible.on { background: var(--blue); }
.toggle-visible::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  background: white; border-radius: 50%; top: 2px; left: 2px; transition: .2s;
}
.toggle-visible.on::after { left: 20px; }

/* ── Product detail page ── */
#product-detail { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 96px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-detail-img-main { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--off-white); }
.product-detail-img-main img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-content { position: sticky; top: calc(var(--nav-h) + 24px); }
.product-detail-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.product-detail-content .product-subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 24px; }
.packages-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.package-option {
  border: 2px solid var(--border); border-radius: 12px; padding: 16px;
  cursor: pointer; transition: border-color .2s;
}
.package-option:hover, .package-option.selected { border-color: var(--blue); }
.package-option-name { font-weight: 700; }
.package-option-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.package-option-discount { font-size: .875rem; color: var(--success); font-weight: 600; }
.detail-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.detail-actions .btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }

/* ── Support / Help page ── */
.help-header {
  padding: calc(var(--nav-h) + 64px) 0 48px;
  background: linear-gradient(135deg, #1d2b3a 0%, #1a3a5c 100%);
  color: var(--white); text-align: center;
}
.help-header h1 { color: var(--white); margin-bottom: 14px; }
.help-header p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 28px; }
.help-search {
  display: flex; align-items: center; gap: 10px;
  max-width: 540px; margin: 0 auto; background: var(--white);
  border-radius: 980px; padding: 4px 20px; color: var(--text-secondary);
  box-shadow: var(--shadow);
}
.help-search input {
  flex: 1; border: none; outline: none; background: none;
  padding: 12px 0; font: inherit; font-size: 1rem; color: var(--text);
}
.help-body { padding: 48px 0 96px; background: var(--off-white); min-height: 50vh; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  position: relative; text-align: left; width: 100%;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 48px 20px 22px; transition: border-color .2s, transform .15s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }
.faq-item-cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.faq-item-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.faq-item-desc { font-size: .9rem; color: var(--text-secondary); }
.faq-item-arrow {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--text-secondary);
}
.faq-empty { text-align: center; color: var(--text-secondary); padding: 48px 0; }
.faq-back {
  font-size: .9rem; font-weight: 600; color: var(--blue); margin-bottom: 24px; padding: 8px 0;
}
.faq-back:hover { text-decoration: underline; }
.faq-article {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px; max-width: 820px;
}
.faq-article h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 24px; }
.faq-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.faq-content p { color: var(--text); margin-bottom: 16px; }
.faq-content h2, .faq-content h3, .faq-content h4 { margin: 28px 0 12px; }
.faq-content ul, .faq-content ol { margin: 0 0 16px 24px; }
.faq-content li { margin-bottom: 6px; }
.faq-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.faq-content a { color: var(--blue); }
.faq-content a:hover { text-decoration: underline; }
.faq-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.faq-content td, .faq-content th { padding: 10px; border: 1px solid var(--border); text-align: left; }
.help-cta {
  margin-top: 56px; text-align: center; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px; padding: 40px;
}
.help-cta h3 { margin-bottom: 10px; }
.help-cta p { margin-bottom: 24px; }
.help-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Responsive ── */
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .pierre-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .pierre-img { order: -1; max-width: 400px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .pierre-stats { grid-template-columns: 1fr; }
  .trust-inner { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 999; padding: var(--nav-h) 24px 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 0; font-size: 1.125rem; font-weight: 600;
  border-bottom: 1px solid var(--border); display: block;
}

/* ── Fade in animation ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Active nav link ── */
.nav-links a.nav-active {
  font-weight: 700; color: var(--blue);
}

/* ── Company info table (legal page) ── */
.faq-content .company-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-size: .95rem;
}
.faq-content .company-table th {
  width: 160px; padding: 12px 16px; text-align: left; font-weight: 600;
  background: var(--off-white); border: 1px solid var(--border);
  vertical-align: top; color: var(--text);
}
.faq-content .company-table td {
  padding: 12px 16px; border: 1px solid var(--border);
  vertical-align: top; color: var(--text);
}
.faq-content .company-table a { color: var(--blue); }
@media (max-width: 540px) {
  .faq-content .company-table th { width: 100px; padding: 10px 12px; }
  .faq-content .company-table td { padding: 10px 12px; }
}

/* ── Help/FAQ: language-aware title update ── */
.help-header h1, .help-header p { transition: opacity .2s; }
