/* ========================================
   Luminacolor Theme Styles — v2.0
   Brand-visual migration from static reference
   ======================================== */

:root {
  --text: #111318;
  --muted: #626874;
  --line: #e7eaf0;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --blue: #4285f4;
  --cyan: #34a853;
  --violet: #4285f4;
  --magenta: #ea4335;
  --gold: #fbbc05;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(32, 42, 65, 0.12);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: 0; margin-bottom: 18px; }
h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; margin-bottom: 0; }
h3 { font-size: 22px; line-height: 1.18; margin-bottom: 12px; }
p { margin-top: 0; }
ul, ol { margin: 0 0 1em 1.4em; }

.text-center { text-align: center; }

/* --- Container (WP inner pages) --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 64px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(231, 234, 240, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  width: 176px;
  height: auto;
}
.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

/* Nav: works for both wp_nav_menu (ul) and fallback (direct a) */
.desktop-nav,
.primary-nav ul.nav-list {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #343842;
  font-size: 14px;
}
.desktop-nav li,
.primary-nav ul.nav-list li {
  list-style: none;
  margin: 0;
}
.desktop-nav a,
.primary-nav ul.nav-list a {
  color: #343842;
  font-weight: 500;
  padding: 4px 0;
  display: inline-block;
}
.desktop-nav a:hover,
.primary-nav ul.nav-list a:hover { color: var(--blue); }
.desktop-nav .current-menu-item > a,
.primary-nav ul.nav-list .current-menu-item > a { color: var(--blue); font-weight: 650; }

/* Sub-menu (Products dropdown) */
.desktop-nav .menu-item-has-children,
.primary-nav ul.nav-list .menu-item-has-children { position: relative; }
.desktop-nav .sub-menu,
.primary-nav ul.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(32, 42, 65, 0.12);
  list-style: none;
  margin: 4px 0 0;
  padding: 8px 0;
  z-index: 50;
}
.desktop-nav .sub-menu li,
.primary-nav ul.nav-list .sub-menu li { margin: 0; }
.desktop-nav .sub-menu a,
.primary-nav ul.nav-list .sub-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
}
.desktop-nav .sub-menu a:hover,
.primary-nav ul.nav-list .sub-menu a:hover { background: var(--surface-soft); }
.desktop-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav ul.nav-list .menu-item-has-children:hover > .sub-menu { display: block; }

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
  background: var(--text);
  box-shadow: 0 10px 32px rgba(17, 19, 24, 0.16);
}
.nav-action:hover { color: #fff; opacity: 0.9; }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}
.menu-button span {
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
}

/* --- Buttons (unified: .btn and .primary-button share look) --- */
.btn,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  line-height: 1.4;
}
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 48px; padding: 0 26px; font-size: 15px; }

.btn-primary,
.primary-button {
  color: #fff;
  background: var(--text);
  box-shadow: 0 10px 32px rgba(17, 19, 24, 0.16);
}
.btn-primary:hover,
.primary-button:hover {
  color: #fff;
  background: #2a2d3a;
}

.btn-outline,
.secondary-button {
  color: var(--text);
  background: #f0f2f6;
  border-color: #f0f2f6;
}
.btn-outline:hover,
.secondary-button:hover {
  color: var(--text);
  background: #e6e9f0;
}

.btn-success {
  color: #fff;
  background: #25D366;
  border-color: #25D366;
}
.btn-success:hover { color: #fff; background: #1da851; }

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 700;
}

/* --- Hero --- */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 28px;
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
}
.hero-content { max-width: 650px; }
.hero-copy { max-width: 650px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 760;
  margin-bottom: 18px;
  color: var(--text);
}
.hero-subtitle {
  max-width: 560px;
  margin-bottom: 30px;
  color: #383e4a;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.3;
  font-weight: 500;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: clamp(4px, 2vw, 20px);
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  max-width: 640px;
  object-fit: contain;
}

/* --- Metrics --- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.metrics div {
  min-height: 118px;
  padding: 26px;
  background: #fff;
}
.metrics strong,
.metrics span { display: block; }
.metrics strong { margin-bottom: 8px; font-size: 20px; }
.metrics span { color: var(--muted); line-height: 1.4; }

/* --- Sections --- */
.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}
.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}
.section-heading.compact { max-width: 680px; }
.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

/* --- Product grid (3 brand cards) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.product-card p,
.support-list p,
.feature-copy p,
.site-footer p,
.domain-note {
  color: var(--muted);
  line-height: 1.55;
}
.card-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 74px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 24% 26%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, var(--cyan), var(--blue) 34%, var(--violet) 62%, var(--magenta) 82%, var(--gold));
  box-shadow: 0 14px 34px rgba(27, 124, 255, 0.22);
}

/* --- Split section (inks / spare parts) --- */
.split-section,
.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}
.muted-band,
.faq-section { background: var(--surface-soft); }

.split-section .section-heading,
.process-section .section-heading,
.feature-copy { max-width: 720px; }

.feature-copy p:not(.eyebrow),
.split-section .section-heading p:not(.eyebrow),
.process-section .section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.detail-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.detail-grid article,
.process-grid article {
  min-height: 210px;
  padding: 28px;
  background: #fff;
}
.detail-grid p,
.process-grid p,
.faq-list p { color: var(--muted); line-height: 1.55; }
.process-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-weight: 800;
}
.process-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid article { min-height: 260px; }

.parts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}
.parts-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #242933;
  font-weight: 650;
}

/* --- Feature band (used printers) --- */
.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 44px;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: #f5f7fb;
}
.spec-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.spec-panel div { padding: 24px; background: #fff; }
.spec-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.spec-panel strong { font-size: 21px; }

/* --- Support list --- */
.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.support-list div { padding: 30px; background: #fff; }

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 19px;
  font-weight: 700;
}
.faq-list p { margin: 0; padding: 0 24px 24px; }

/* --- Contact section (dark card on front page) --- */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.62fr);
  align-items: start;
  gap: 28px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(60px, 8vw, 100px);
  padding: clamp(42px, 6vw, 64px);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 78, 205, 0.6), transparent 24%),
    radial-gradient(circle at 28% 88%, rgba(18, 216, 250, 0.52), transparent 28%),
    linear-gradient(135deg, #111318, #23263a 45%, #121520);
}
.contact-section .eyebrow,
.contact-section .domain-note { color: rgba(255, 255, 255, 0.76); }
.contact-section .secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-section .primary-button {
  color: var(--text);
  background: #fff;
}
.domain-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
}
.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}
.inquiry-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
}
.inquiry-form textarea { resize: vertical; }
.form-button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

/* --- Footer --- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-logo {
  width: 240px;
  height: auto;
}
.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}
.footer-col h4 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.875rem; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); font-size: 0.875rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  width: 100%;
}
.disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.copyright { font-size: 0.8125rem; color: var(--muted); }

/* --- WP Inner Page Content --- */
.site-main { display: block; }
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(60px, 8vw, 96px);
}
.page-content h1 { margin-bottom: 24px; }
.page-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: clamp(26px, 3.5vw, 38px); }
.page-content h3 { margin-top: 28px; }
.page-content p,
.page-content li { color: var(--muted); line-height: 1.7; }
.page-content a { color: var(--blue); }
.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }

/* --- Contact page (WP form) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.contact-form .form-group,
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}
.contact-info {
  background: var(--surface-soft);
  padding: 32px;
  border-radius: var(--radius);
}
.contact-info p { margin-bottom: 12px; color: var(--muted); }

/* --- Inquiry status messages --- */
.inquiry-success,
.inquiry-error {
  text-align: center;
  padding: 80px 20px;
}
.inquiry-success h1,
.inquiry-error h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.inquiry-success p,
.inquiry-error p { font-size: 1.125rem; color: var(--muted); }
.inquiry-error h1 { color: #b91c1c; }
.inquiry-error .btn { margin-top: 16px; }

/* --- Blog --- */
.blog-card {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.blog-card:first-child { padding-top: 0; }
.blog-card h2 { margin-bottom: 8px; font-size: clamp(24px, 3vw, 32px); }
.blog-card h2 a { color: var(--text); }
.blog-card h2 a:hover { color: var(--blue); }
.post-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.post-content h2 { margin-top: 32px; }
.post-content h3 { margin-top: 24px; }
.post-content p,
.post-content li { color: var(--muted); line-height: 1.7; }
.post-cta {
  background: var(--surface-soft);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 40px;
}
.post-cta p { margin-bottom: 16px; }
.blog-single .post-meta { margin-bottom: 24px; }

/* --- Spec table (product pages) --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 0.9375rem;
}
.spec-table th {
  background: var(--surface-soft);
  font-weight: 600;
}
.spec-table td { color: var(--muted); }

/* --- Product detail --- */
.product-detail h2 { margin-top: 40px; }
.product-cta {
  background: var(--surface-soft);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}
.product-cta h3 { margin-bottom: 16px; }
.product-cta p { margin-bottom: 24px; color: var(--muted); }

/* --- Responsive --- */
@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }
  .desktop-nav,
  .primary-nav,
  .nav-action { display: none; }
  .menu-button { display: inline-flex; }

  .mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 19;
    display: grid;
    gap: 1px;
    max-height: 0;
    overflow: hidden;
    background: var(--line);
    border-bottom: 1px solid var(--line);
    transition: max-height 220ms ease;
  }
  .mobile-menu.is-open { max-height: 560px; }
  .mobile-menu a {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.96);
    font-weight: 650;
  }

  .hero,
  .feature-band,
  .split-section,
  .process-section,
  .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-visual img { max-height: 540px; }

  .metrics,
  .product-grid,
  .support-list,
  .detail-grid,
  .process-grid { grid-template-columns: 1fr; }
  .contact-section { align-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding: 10px 16px; }
  .brand-logo { width: 152px; }
  .hero,
  .section,
  .feature-band,
  .split-section,
  .process-section { padding-left: 16px; padding-right: 16px; }
  .metrics,
  .contact-section { margin-left: 16px; margin-right: 16px; }
  .contact-section { padding: 32px 20px; }
  .hero-actions,
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .primary-button,
  .secondary-button,
  .btn { width: 100%; }
  .site-footer { display: grid; }
  .footer-logo { width: 210px; }
  .footer-grid { grid-template-columns: 1fr; }
}
