/* ── Apple-style Design System ─────────────────────────────────────────── */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --color-bg: #ffffff;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-surface: #f5f5f7;
  --color-border: #d2d2d7;
  --color-accent: #0071e3;
  --nav-height: 52px;
  --radius: 18px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 17px;
  line-height: 1.47059;
  padding-top: var(--nav-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center;
  font-size: 20px; font-weight: 700; color: var(--color-text);
  letter-spacing: -0.5px; text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--color-text); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--color-text); font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); text-decoration: none; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-text); border-radius: 2px; transition: 0.3s;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.section-hero {
  min-height: clamp(460px, 65vh, 640px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px clamp(24px, 6vw, 80px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-headline {
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 700; letter-spacing: -2.5px;
  line-height: 1.03; margin-bottom: 22px;
}
.hero-subheadline {
  font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 400; line-height: 1.42;
  margin-bottom: 44px; opacity: 0.88;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero content position (9-point grid via data-pos attribute) */
.section-hero[data-pos$="-left"]   { align-items: flex-start; text-align: left; }
.section-hero[data-pos$="-right"]  { align-items: flex-end;   text-align: right; }
.section-hero[data-pos$="-center"] { align-items: center;     text-align: center; }
.section-hero[data-pos^="top-"]    { justify-content: flex-start; }
.section-hero[data-pos^="bottom-"] { justify-content: flex-end; }
.section-hero[data-pos^="middle-"] { justify-content: center; }
.section-hero[data-pos$="-left"]   .hero-actions { justify-content: flex-start; }
.section-hero[data-pos$="-right"]  .hero-actions { justify-content: flex-end; }
.section-hero[data-pos$="-center"] .hero-actions { justify-content: center; }

/* Hero content size — md is the default declared above */
.section-hero[data-size="sm"] .hero-headline    { font-size: clamp(28px, 5vw, 52px); letter-spacing: -1.5px; margin-bottom: 14px; }
.section-hero[data-size="sm"] .hero-subheadline { font-size: clamp(14px, 1.8vw, 18px); margin-bottom: 28px; }
.section-hero[data-size="sm"] .hero-content     { max-width: 620px; }
.section-hero[data-size="lg"] .hero-headline    { font-size: clamp(54px, 9vw, 110px); letter-spacing: -3px; margin-bottom: 28px; }
.section-hero[data-size="lg"] .hero-subheadline { font-size: clamp(20px, 3vw, 30px); margin-bottom: 52px; }
.section-hero[data-size="lg"] .hero-content     { max-width: 960px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 980px;
  font-size: 17px; font-weight: 400; font-family: var(--font);
  transition: all 0.2s var(--ease); cursor: pointer;
  border: none; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: scale(1.02); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #0077ed; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-accent); padding: 0; border-radius: 0; }
.btn-ghost:hover { text-decoration: underline; transform: none; }
.btn-white { background: #fff; color: #1d1d1f; }
.btn-white:hover { background: #f5f5f7; color: #1d1d1f; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Section Base ───────────────────────────────────────────────────────── */
main > * + * { margin-top: 20px; }
.section { padding: 100px 24px; }
.section-inner { max-width: 980px; margin: 0 auto; }
.section-wide { max-width: 1200px; margin: 0 auto; }
.section-headline {
  font-size: clamp(28px, 4vw, 52px); font-weight: 700;
  letter-spacing: -1.2px; line-height: 1.07; margin-bottom: 10px; text-align: center;
}
.section-subheadline {
  font-size: clamp(17px, 2vw, 21px); color: var(--color-text-secondary);
  text-align: center; margin-bottom: 60px; line-height: 1.48;
}

/* ── Feature Section ────────────────────────────────────────────────────── */
.section-feature .feature-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.section-feature.img-left .feature-inner { direction: rtl; }
.section-feature.img-left .feature-inner > * { direction: ltr; }
.feature-text .eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--color-accent); margin-bottom: 10px;
}
.feature-text h2 {
  font-size: clamp(24px, 3.5vw, 42px); font-weight: 700;
  letter-spacing: -0.8px; line-height: 1.08; margin-bottom: 10px;
}
.feature-text .sub {
  font-size: 19px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 20px;
}
.feature-text p { font-size: 17px; color: var(--color-text-secondary); line-height: 1.65; margin-bottom: 28px; }
.feature-image {
  border-radius: var(--radius); overflow: hidden;
  background: var(--color-surface); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  max-height: 500px;
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-image-placeholder {
  width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 72px; background: linear-gradient(135deg, #e8e8ed 0%, #d2d2d7 100%);
  border-radius: var(--radius);
}

/* ── Grid Section ───────────────────────────────────────────────────────── */
.section-grid .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.grid-card {
  background: #fff; border-radius: var(--radius); padding: 40px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: block; color: inherit; text-decoration: none; overflow: hidden;
  position: relative;
}
.grid-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.grid-card .icon { font-size: 40px; margin-bottom: 20px; display: block; }
.grid-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.grid-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.55; }
/* Image card variant — no card-level padding; image fills top edge cleanly */
.grid-card--img { padding: 0; }
.grid-card-img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.gc-body { padding: 28px 32px 32px; }

/* ── Text Section ───────────────────────────────────────────────────────── */
.section-text .text-content { max-width: 680px; margin: 0 auto; }
.section-text.align-left .text-content { margin: 0; }
.section-text.align-left .section-headline,
.section-text.align-left .body-text { text-align: left; }
.section-text h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  letter-spacing: -1px; margin-bottom: 24px;
}
.body-text { font-size: 19px; color: var(--color-text-secondary); line-height: 1.65; }
.body-text p { margin-bottom: 16px; }
.body-text img { max-width: min(100%, 680px); max-height: 480px; object-fit: cover; border-radius: 12px; margin: 20px auto; display: block; }

/* ── CTA Section ────────────────────────────────────────────────────────── */
.section-cta { text-align: center; padding: 120px 24px; }
.section-cta h2 {
  font-size: clamp(28px, 5vw, 60px); font-weight: 700;
  letter-spacing: -1.5px; margin-bottom: 14px;
}
.section-cta p { font-size: 21px; margin-bottom: 44px; opacity: 0.75; }

/* ── Gallery Section ────────────────────────────────────────────────────── */
.section-gallery .gallery-grid { display: grid; gap: 12px; }
.gallery-grid.cols-1 { grid-template-columns: 1fr; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--color-surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: #f5f5f7; border-top: 1px solid var(--color-border);
  padding: 40px 24px 24px; font-size: 13px; color: var(--color-text-secondary);
}
.footer-inner { max-width: 1180px; margin: 0 auto; }

.footer-notes {
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.footer-notes p {
  font-size: 12px; line-height: 1.6; color: #86868b;
  margin-bottom: 12px;
}
.footer-notes p:last-child { margin-bottom: 0; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px 40px;
  padding-bottom: 24px; margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.footer-col-title {
  font-size: 13px; font-weight: 600; color: var(--color-text);
  margin-bottom: 12px; letter-spacing: 0;
}
.footer-col-list { list-style: none; padding: 0; margin: 0; }
.footer-col-list li { margin-bottom: 8px; line-height: 1.4; }
.footer-col-list a {
  color: #6e6e73; font-size: 12px; text-decoration: none;
  transition: color .15s var(--ease);
}
.footer-col-list a:hover { color: var(--color-text); text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 18px; padding-top: 8px;
}
.footer-copy { font-size: 12px; color: #86868b; margin: 0; }
.footer-bottom-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0;
}
.footer-bottom-links li { position: relative; padding: 0 12px; line-height: 1; }
.footer-bottom-links li + li { border-left: 1px solid #d2d2d7; }
.footer-bottom-links a { color: #6e6e73; font-size: 12px; }
.footer-bottom-links a:hover { color: var(--color-text); text-decoration: underline; }

@media (max-width: 640px) {
  .footer { padding: 32px 18px 20px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-links { flex-wrap: wrap; }
  .footer-bottom-links li:first-child { padding-left: 0; }
}

/* ── FAQ Accordion ──────────────────────────────────────────────────────── */
.section-faq { padding: 80px 24px; }
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--color-text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: var(--font);
}
.faq-q:hover { color: var(--color-accent); }
.faq-icon { font-size: 22px; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 0 20px; color: var(--color-text-secondary); line-height: 1.7; }

/* ── Inquiry / Contact ──────────────────────────────────────────────────── */
.section-inquiry { padding: 80px 24px; }
.inquiry-form { max-width: 600px; margin: 40px auto 0; }
.inquiry-form .form-group { margin-bottom: 16px; }
.inquiry-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.inquiry-form .form-control {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: 10px; font-size: 15px; font-family: var(--font);
  background: #fff; outline: none; transition: border-color 0.2s;
}
.inquiry-form .form-control:focus { border-color: var(--color-accent); }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inq-success {
  max-width: 600px; margin: 32px auto; padding: 20px 24px;
  background: #d1fae5; border-radius: 12px; color: #065f46;
  text-align: center; font-weight: 500;
}
.contact-info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-icon { font-size: 28px; flex-shrink: 0; }
.contact-label { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 4px; }
.contact-value { font-size: 16px; font-weight: 500; color: var(--color-text); }

.qr-grid {
  display: grid; gap: 24px;
  margin: 40px auto 0; max-width: 1100px;
}
.qr-grid.qr-cols-1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.qr-grid.qr-cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.qr-grid.qr-cols-3 { grid-template-columns: repeat(3, 1fr); }
.qr-grid.qr-cols-4 { grid-template-columns: repeat(4, 1fr); }

.qr-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.qr-image {
  aspect-ratio: 1 / 1; background: #fafafa; border-radius: 12px;
  overflow: hidden; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.qr-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-title { font-size: 15px; font-weight: 500; color: var(--color-text); margin-bottom: 4px; }
.qr-caption { font-size: 13px; color: var(--color-text-secondary); }

@media (max-width: 640px) {
  .qr-grid.qr-cols-3, .qr-grid.qr-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .qr-grid.qr-cols-2 { grid-template-columns: 1fr; max-width: 320px; }
}

/* ── Products ───────────────────────────────────────────────────────────── */
.section-products { padding: 80px 0; }
.products-page { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.products-page-title { font-size: 48px; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.products-page-subtitle { font-size: 21px; color: #6e6e73; margin-bottom: 48px; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #1d1d1f; background: #f5f5f7; text-decoration: none; transition: background .15s, color .15s; }
.page-btn:hover:not(.disabled):not(.active) { background: #e8e8ed; }
.page-btn.active { background: #0071e3; color: #fff; }
.page-btn.disabled { color: #c7c7cc; cursor: default; }

.prod-grid { display: grid; gap: 24px; }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid-2 { grid-template-columns: repeat(2, 1fr); }

.prod-card { background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); text-decoration: none; color: inherit; }
.prod-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.prod-img-ph { background: #f5f5f7; display: flex; align-items: center; justify-content: center; font-size: 48px; width: 100%; aspect-ratio: 4/3; }
.prod-card-body { padding: 20px; }
.prod-name { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.prod-desc { font-size: 14px; color: #6e6e73; line-height: 1.5; }

.prod-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.prod-card-main .prod-card-img { aspect-ratio: 3/4; }
.prod-featured-rest { display: flex; flex-direction: column; gap: 24px; }

.prod-list { display: flex; flex-direction: column; gap: 16px; }
.prod-list-item { display: flex; align-items: center; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.prod-list-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.prod-list-img { width: 160px; height: 120px; object-fit: cover; flex-shrink: 0; display: block; }
.prod-list-img.prod-img-ph { aspect-ratio: auto; height: 120px; font-size: 36px; }
.prod-list-body { padding: 20px; flex: 1; }

.product-detail-page { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.product-back { display: inline-block; font-size: 14px; color: var(--color-accent); text-decoration: none; margin-bottom: 32px; }
.product-back:hover { text-decoration: underline; }
.product-detail-img { display: block; width: 100%; max-width: 680px; max-height: 440px; object-fit: cover; border-radius: 18px; margin: 0 auto 40px; }
.product-detail-name { font-size: 40px; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; }
.product-detail-desc { font-size: 19px; color: #6e6e73; margin-bottom: 40px; line-height: 1.5; }
.product-detail-content { font-size: 16px; line-height: 1.85; color: #1d1d1f; }
.product-detail-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; }
.product-detail-content p { margin-bottom: 16px; }
.product-detail-content ul, .product-detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.product-detail-content img { max-width: min(100%, 680px); max-height: 480px; object-fit: cover; border-radius: 12px; margin: 20px auto; display: block; }

/* ── Product specs table ──────────────────────────────────────────────────── */
.product-specs { margin-top: 48px; }
.product-specs-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid #e5e5ea; border-radius: 10px; overflow: hidden; }
.specs-table tr { border-bottom: 1px solid #e5e5ea; }
.specs-table th { width: 38%; padding: 11px 16px; text-align: left; font-weight: 600; color: #1d1d1f; background: #f5f5f7; }
.specs-table td { padding: 11px 16px; color: #3a3a3c; }
.specs-table tr:last-child { border-bottom: none; }

/* ── Product inquiry section ─────────────────────────────────────────────── */
.product-inquiry-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid #e5e5ea; }
.product-inquiry-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.product-inquiry-form { max-width: 560px; }

/* ── Product list category filter ────────────────────────────────────────── */
.lineup-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 32px; padding: 0 24px; max-width: 960px; }
.filter-tab { display: inline-block; padding: 7px 20px; border-radius: 20px; font-size: 14px; font-weight: 500; color: #1d1d1f; background: #f5f5f7; text-decoration: none; transition: background 0.2s, color 0.2s; }
.filter-tab:hover { background: #e5e5ea; }
.filter-tab.active { background: var(--color-accent, #0071e3); color: #fff; }

@media (max-width: 768px) {
  .prod-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .prod-grid-2 { grid-template-columns: 1fr; }
  .prod-featured { grid-template-columns: 1fr; }
  .prod-list-img { width: 120px; height: 100px; }
  .products-page-title { font-size: 32px; }
  .product-detail-name { font-size: 28px; }
  .specs-table th, .specs-table td { padding: 9px 12px; font-size: 14px; }
}
@media (max-width: 480px) {
  .prod-grid-3 { grid-template-columns: 1fr; }
}

/* ── Scroll animations ──────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    padding: 20px 24px; border-bottom: 1px solid var(--color-border);
    gap: 20px; z-index: 999;
  }
  .nav-hamburger { display: flex; }
  .section-feature .feature-inner,
  .section-feature.img-left .feature-inner { grid-template-columns: 1fr; direction: ltr; }
  .section { padding: 60px 20px; }
  .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ── Banner Carousel ────────────────────────────────────────────────────── */
.section-banner {
  position: relative;
  height: clamp(460px, 70vh, 720px);
  overflow: hidden;
  background: #000;
}
.banner-track { position: absolute; inset: 0; }
.banner-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px clamp(24px, 6vw, 80px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 0;
}
.banner-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.banner-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.banner-content { position: relative; z-index: 1; max-width: 820px; }

.banner-headline {
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 700; letter-spacing: -2px; line-height: 1.05;
  margin: 0 0 18px;
}
.banner-subheadline {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400; line-height: 1.45;
  margin: 0 0 36px; opacity: 0.92;
}
.banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Position (9-pt) for banner slides */
.banner-slide[data-pos$="-left"]   { align-items: flex-start; text-align: left; }
.banner-slide[data-pos$="-right"]  { align-items: flex-end;   text-align: right; }
.banner-slide[data-pos$="-center"] { align-items: center;     text-align: center; }
.banner-slide[data-pos^="top-"]    { justify-content: flex-start; }
.banner-slide[data-pos^="bottom-"] { justify-content: flex-end; }
.banner-slide[data-pos^="middle-"] { justify-content: center; }
.banner-slide[data-pos$="-left"]   .banner-actions { justify-content: flex-start; }
.banner-slide[data-pos$="-right"]  .banner-actions { justify-content: flex-end; }
.banner-slide[data-pos$="-center"] .banner-actions { justify-content: center; }

/* Size for banner slides */
.banner-slide[data-size="sm"] .banner-headline    { font-size: clamp(24px, 4.5vw, 44px); letter-spacing: -1px; margin-bottom: 12px; }
.banner-slide[data-size="sm"] .banner-subheadline { font-size: clamp(13px, 1.6vw, 16px); margin-bottom: 24px; }
.banner-slide[data-size="sm"] .banner-content     { max-width: 560px; }
.banner-slide[data-size="lg"] .banner-headline    { font-size: clamp(48px, 8vw, 96px); letter-spacing: -2.5px; margin-bottom: 22px; }
.banner-slide[data-size="lg"] .banner-subheadline { font-size: clamp(18px, 2.6vw, 26px); margin-bottom: 44px; }
.banner-slide[data-size="lg"] .banner-content     { max-width: 960px; }

/* Arrows */
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(10px);
  border: none; color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.banner-arrow:hover { background: rgba(255,255,255,0.45); transform: translateY(-50%) scale(1.05); }
.banner-prev { left: 24px; }
.banner-next { right: 24px; }

/* Dots */
.banner-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.banner-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, width 0.3s, border-radius 0.3s;
}
.banner-dot:hover { background: rgba(255,255,255,0.8); }
.banner-dot.active { background: #fff; width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .section-banner { height: clamp(380px, 60vh, 520px); }
  .banner-slide { padding: 60px 24px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 20px; }
  .banner-prev { left: 12px; }
  .banner-next { right: 12px; }
}

/* ── Banner GRID mode (multi-tile) ──────────────────────────────────────── */
.section-banner-grid { padding: 12px; background: #fff; }
.banner-grid {
  display: grid;
  gap: 12px;
}
.banner-grid[data-cols="1"] { grid-template-columns: 1fr; }
.banner-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.banner-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }

.banner-tile {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  min-height: 520px;
  text-align: center;
}
.banner-tile-text {
  padding: 56px 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.banner-tile-headline {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; letter-spacing: -0.8px;
  line-height: 1.1; margin: 0;
}
.banner-tile-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 400; line-height: 1.4;
  margin: 0; opacity: 0.85;
}
.banner-tile-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 6px;
}
.banner-tile-image {
  flex: 1;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 24px 0;
  min-height: 0;
}
.banner-tile-image img,
.banner-tile-image a img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.banner-tile:hover .banner-tile-image img { transform: scale(1.03); }

/* Size scale for tile */
.banner-tile[data-size="sm"] .banner-tile-headline { font-size: clamp(22px, 2.4vw, 30px); }
.banner-tile[data-size="sm"] .banner-tile-sub      { font-size: clamp(13px, 1.2vw, 16px); }
.banner-tile[data-size="sm"]                       { min-height: 420px; }
.banner-tile[data-size="lg"] .banner-tile-headline { font-size: clamp(36px, 4vw, 52px); }
.banner-tile[data-size="lg"] .banner-tile-sub      { font-size: clamp(17px, 1.8vw, 22px); }
.banner-tile[data-size="lg"]                       { min-height: 620px; }

@media (max-width: 980px) {
  .banner-grid[data-cols="3"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .banner-grid[data-cols="2"],
  .banner-grid[data-cols="3"] { grid-template-columns: 1fr; }
  .banner-tile { min-height: 440px; }
  .banner-tile-text { padding: 40px 20px 18px; }
}

/* ── Apple Lineup Product Page ──────────────────────────────────────────── */
.lineup-page {
  background: #f5f5f7;
  min-height: 60vh;
  padding-bottom: 80px;
}

.lineup-hero {
  padding: 80px 48px 40px;
}

.lineup-hero-title {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #1d1d1f;
  line-height: 1.05;
  margin: 0 0 10px;
}

.lineup-hero-sub {
  font-size: 19px;
  color: #6e6e73;
  margin: 0;
  font-weight: 400;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 48px 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.lineup-card {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lineup-card:hover {
  transform: scale(1.025);
  box-shadow: 0 24px 64px rgba(0,0,0,0.13);
}

.lineup-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  height: 240px;
  padding: 32px 28px 20px;
  text-decoration: none;
  overflow: hidden;
}

.lineup-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.lineup-card:hover .lineup-card-img { transform: scale(1.06); }

.lineup-card-ph {
  font-size: 72px;
  line-height: 1;
  opacity: 0.4;
}

.lineup-card-body {
  padding: 4px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.lineup-card-name {
  font-size: 19px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.3px;
  margin: 16px 0 8px;
  line-height: 1.25;
}

.lineup-card-desc {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lineup-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lineup-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lineup-btn-blue {
  background: #0071e3;
  color: #fff;
  border-radius: 980px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
}
.lineup-btn-blue:hover { background: #0077ed; color: #fff; text-decoration: none; }

.lineup-btn-text {
  font-size: 14px;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
  white-space: nowrap;
}
.lineup-btn-text:hover { text-decoration: underline; color: #0077ed; }

.lineup-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 48px 0;
  flex-wrap: wrap;
}

.lineup-empty { text-align: center; padding: 80px 24px; color: #86868b; }
.lineup-empty-icon { font-size: 56px; margin-bottom: 16px; }
.lineup-empty-text { font-size: 18px; }

@media (max-width: 900px) {
  .lineup-hero { padding: 60px 24px 32px; }
  .lineup-grid { padding: 0 24px 24px; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .lineup-pagination { padding: 8px 24px 0; }
  .lineup-card-visual { height: 200px; }
}

@media (max-width: 600px) {
  .lineup-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 16px 20px; }
  .lineup-card-visual { height: 150px; padding: 18px 14px 10px; }
  .lineup-card-name { font-size: 15px; margin: 12px 0 6px; }
  .lineup-card-desc { font-size: 12px; margin-bottom: 14px; -webkit-line-clamp: 2; }
  .lineup-card-body { padding: 4px 14px 18px; }
  .lineup-card-actions { gap: 10px; }
  .lineup-btn-blue { padding: 7px 14px; font-size: 12px; }
  .lineup-btn-text { font-size: 12px; }
}
