/* =============================================================
   DIGITAL ARTS - MAIN STYLESHEET
   Colour and font settings are at the top so they are easy to change.
   ============================================================= */

/* ---------- CHANGE COLOURS AND FONTS HERE ---------- */
:root {
  --brand-red: #d81f26;
  --brand-red-dark: #a91419;
  --brand-navy: #10203a;
  --brand-navy-light: #1c3358;
  --ink: #16202e;
  --body: #4a5666;
  --muted: #7a8698;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-tint: #fdf2f2;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(16, 32, 58, .07);
  --shadow-md: 0 10px 30px rgba(16, 32, 58, .10);
  --shadow-lg: 0 22px 60px rgba(16, 32, 58, .16);
  --font-head: "Segoe UI Semibold", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-red); text-decoration: none; }
a:hover { color: var(--brand-red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; margin: 0 0 .6rem; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 2px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-red); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-primary { background: var(--brand-red); color: #fff; box-shadow: 0 8px 20px rgba(216, 31, 38, .28); }
.btn-primary:hover { background: var(--brand-red-dark); color: #fff; }
.btn-dark { background: var(--brand-navy); color: #fff; }
.btn-dark:hover { background: var(--brand-navy-light); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost { background: var(--surface-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; box-shadow: var(--shadow-sm); background: #fff; }
.topbar { background: var(--brand-navy); color: #cfd8e6; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #cfd8e6; }
.topbar-item:hover { color: #fff; }
.topbar-item svg { width: 15px; height: 15px; }
.topbar-social { display: flex; gap: 6px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; color: #cfd8e6;
  background: rgba(255, 255, 255, .08); transition: background .2s ease, color .2s ease;
}
.social-link:hover { background: var(--brand-red); color: #fff; }
.social-link svg { width: 16px; height: 16px; }

.header-main { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand img { width: 200px; height: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .93rem;
}
.main-nav a:hover { background: var(--surface-tint); color: var(--brand-red); }
.main-nav a.active { color: var(--brand-red); background: var(--surface-tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; padding: 9px 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; height: clamp(420px, 66vh, 640px); overflow: hidden; background: var(--brand-navy); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 18, 33, .88) 0%, rgba(9, 18, 33, .62) 48%, rgba(9, 18, 33, .25) 100%); }
.slide-content {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  justify-content: center; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; color: #fff;
}
.slide-content .eyebrow {
  display: inline-flex; align-self: flex-start; background: var(--brand-red); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.slide-content h2, .slide-content h1 { color: #fff; max-width: 640px; font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.slide-content p { color: #dfe6f0; max-width: 540px; font-size: 1.05rem; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 1.3rem; backdrop-filter: blur(4px);
}
.slider-prev:hover, .slider-next:hover { background: var(--brand-red); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--brand-red); width: 26px; border-radius: 999px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--brand-navy); color: #cdd7e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; color: var(--brand-red); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 8px;
}
.section-head p { margin-bottom: 0; }
.text-left { text-align: left; margin-left: 0; }

.page-hero { background: var(--brand-navy); color: #cdd7e6; padding: 56px 0; }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #93a2b8; margin-bottom: 10px; }
.breadcrumb a { color: #cdd7e6; }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; background: var(--surface-tint); color: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.4rem;
}
.icon-badge svg { width: 26px; height: 26px; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media { display: block; aspect-ratio: 3 / 2; background: var(--surface-soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--brand-red); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-body h3 { margin: 6px 0 6px; font-size: 1.06rem; }
.product-body p { font-size: .9rem; margin-bottom: 10px; }
.product-price { color: var(--ink); font-weight: 700; font-size: .9rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ---------- filters ---------- */
.filter-bar { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; margin-bottom: 28px; }
.filter-bar input, .filter-bar select, .form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff;
}
.filter-bar input:focus, .filter-bar select:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--brand-red); outline: none; box-shadow: 0 0 0 3px rgba(216, 31, 38, .12);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px;
  font-size: .88rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--brand-red); color: var(--brand-red); }
.chip.active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.result-count { margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.empty-state { text-align: center; padding: 50px 20px; background: var(--surface-soft); border-radius: var(--radius); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; border: none; padding: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; color: #fff; font-size: .85rem; text-align: left;
  background: linear-gradient(transparent, rgba(9, 18, 33, .85));
}
.project-tile { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.project-tile img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.project-tile figcaption { padding: 12px 14px; font-size: .9rem; color: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  background: rgba(6, 12, 22, .93); padding: 40px 60px;
}
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb-figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lb-figure figcaption { color: #e6ecf5; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.3rem;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--brand-red); }

/* ---------- product details ---------- */
.details-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.details-main img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 3 / 2; object-fit: cover; }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb-row button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; }
.thumb-row button.active { border-color: var(--brand-red); }
.thumb-row img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.spec-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.spec-list li::before { content: "\2713"; color: var(--brand-red); font-weight: 700; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-error { color: var(--brand-red); font-size: .82rem; display: none; }
.form-field.invalid input, .form-field.invalid textarea, .form-field.invalid select { border-color: var(--brand-red); }
.form-field.invalid .form-error { display: block; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: #eaf8ef; color: #17693c; display: none; }
.form-status.show { display: block; }

/* ---------- careers ---------- */
.job-card { display: flex; flex-direction: column; gap: 10px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--surface-soft); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--body); }
.tag-open { background: #e6f7ed; color: #17693c; font-weight: 700; }
.tag-closed { background: #f3f0f0; color: #8a6d6d; font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.info-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list svg { color: var(--brand-red); margin-top: 4px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--surface-soft); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-fallback { padding: 40px 24px; text-align: center; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%); color: #dbe3ef; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .2rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-navy); color: #aebbcd; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding: 60px 20px 40px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.site-footer p { font-size: .92rem; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .footer-contact a { color: #aebbcd; font-size: .92rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.footer-contact svg { color: var(--brand-red); margin-top: 4px; }
.footer-hours { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; margin-bottom: 8px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 3px 0; }
.footer-hours strong { color: #fff; font-weight: 600; }
.footer-social { display: flex; gap: 8px; }
.website-project-card { overflow: hidden; padding: 0; }
.website-project-card a { color: inherit; display: block; }
.website-project-card img { width: 100%; height: 220px; object-fit: cover; object-position: top; background: #e9edf3; }
.website-project-info { padding: 18px 20px 20px; }
.website-project-info h3 { margin-bottom: 6px; }
.website-project-domain { color: var(--brand-red); font-size: .88rem; font-weight: 700; }
.domain-banner { position: relative; overflow: hidden; width: 100%; background: linear-gradient(135deg, #0b1930 0%, #163052 55%, #225289 100%); color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-md); text-decoration: none; isolation: isolate; }
.domain-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 32%), linear-gradient(90deg, rgba(255,255,255,.05), transparent 45%); pointer-events: none; }
.domain-banner > * { position: relative; z-index: 1; }
.domain-banner h2, .domain-banner p { color: #fff; margin-bottom: 5px; }
@media (max-width: 640px) { .domain-banner { align-items: flex-start; flex-direction: column; } .website-project-card img { height: 190px; } }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #aebbcd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { background: var(--whatsapp-dark); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 10px 16px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 10px; border-radius: 8px; }
  .header-main { position: relative; }
  .btn-quote { display: none; }
  .details-grid, .contact-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .topbar-location { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid-4, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 20px 30px; }
  .hero-slider { height: 520px; }
  .slider-prev, .slider-next { display: none; }
  .lightbox { padding: 60px 12px; }
}
@media (max-width: 420px) {
  .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .brand img { width: 165px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Comparison table (LED vs acrylic guide) */
.table-wrap { overflow-x: auto; margin: 22px 0 30px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare-table th,
.compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line, #e4e8ef); vertical-align: top; }
.compare-table thead th { background: var(--brand-navy, #10203a); color: #fff; font-weight: 600; }
.compare-table tbody tr:nth-child(even) { background: rgba(16, 32, 58, .04); }

/* ---------- B2B button in the main navigation ---------- */
.main-nav a.nav-b2b { border: 2px solid var(--brand-navy); color: var(--brand-navy); font-weight: 700; letter-spacing: .04em; }
.main-nav a.nav-b2b:hover, .main-nav a.nav-b2b.active { background: var(--brand-navy); color: #fff; }

/* ---------- B2B page ---------- */
.b2b-steps { counter-reset: step; }
.b2b-steps .card { position: relative; padding-top: 58px; }
.b2b-steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; left: 26px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-red); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.work-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.work-checks label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-weight: 600; font-family: var(--font-head); color: var(--ink); }
.work-checks label:has(input:checked) { border-color: var(--brand-red); background: var(--surface-tint); }
.work-checks input { width: 18px; height: 18px; accent-color: var(--brand-red); }
.file-list { margin-top: 8px; font-size: .88rem; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.form-status.error { background: var(--surface-tint); color: var(--brand-red-dark); }
@media (max-width: 520px) { .work-checks { grid-template-columns: 1fr; } }

/* Quick Buy: red button on desktop, menu item on mobile */
.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav-mobile-only { display: block; } }

/* ---------- Our Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-media { display: block; aspect-ratio: 10 / 7; background: var(--surface-soft); overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-noimg { display: grid; place-items: center; height: 100%; color: var(--muted); font-weight: 700; }
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.work-title { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.work-title a { color: var(--ink); text-decoration: none; }
.work-title a:hover { color: var(--brand-red); }
.work-body p { margin: 0; font-size: .93rem; }
.work-date { margin-top: auto; font-size: .8rem; color: var(--muted); }
.work-detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.work-main { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface-soft); }
.work-main img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.work-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.work-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.work-thumbs button:hover, .work-thumbs button:focus-visible { border-color: var(--brand-red); }
.work-thumbs img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.work-lead { font-size: 1.1rem; color: var(--ink); }
.work-text h2 { font-size: 1.25rem; margin: 22px 0 8px; }
.work-cta { margin-top: 26px; padding: 20px; border-radius: var(--radius); background: var(--surface-soft); }
.work-cta h2 { margin-top: 0; }
.section-title-sm { font-size: 1.4rem; margin-bottom: 18px; }
@media (max-width: 980px) { .works-grid { grid-template-columns: repeat(2, 1fr); } .work-detail { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* B2B print items */
.b2-items select, .b2-items input { padding: 8px 10px; min-width: 0; }
.b2-items input[type=number] { width: 84px; }
.b2-items td { vertical-align: middle; }
.b2-items-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 8px; }
.b2-total { text-align: right; }
