/* 3U SIN — site styles */
:root {
  --bg: #F4F3EE;
  --surface: #FFFFFF;
  --ink: #0B0F14;
  --ink-2: #2A2F36;
  --muted: #5B6168;
  --line: #E1DFD7;
  --accent: #FFC800;
  --accent-ink: #0B0F14;
  --dark: #0B0F14;
  --dark-2: #171C23;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-head: "Archivo", system-ui, sans-serif;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label a { color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Big headlines use Archivo */
.hero-title, .page-head h1, .product-model, h2 { font-family: var(--f-display); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #FFD633; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #222831; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 238, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 27px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 700 19px/1 var(--f-head); letter-spacing: -0.02em; }
.brand-text small { font: 500 11px/1.3 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.site-nav > a:not(.btn)[aria-current="page"]::after,
.site-nav > a:not(.btn):hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
    border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
    font: 600 14px var(--f-body); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; min-height: 48px; }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; overflow: hidden; }
.hero-labels { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.hero-labels span::before { content: "●"; color: var(--accent); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.hero-title { font-size: clamp(48px, 9vw, 128px); line-height: .9; letter-spacing: -0.04em; font-weight: 600; }
.hero-title .hl { color: var(--muted); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(24px, 4vw, 40px); }
.hero-sub { max-width: 560px; font-size: 18px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.page-head .hero-actions { margin-top: 28px; }
@media (max-width: 820px) { .hero-foot { grid-template-columns: 1fr; } }

/* Scrolling product strip (moves left in a straight line) */
.strip { margin-top: clamp(40px, 6vw, 72px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0;
  animation: strip-scroll var(--dur, 50s) linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track li { flex: none; padding-right: 16px; }
.strip-track a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 220px; height: 220px; padding: 22px;
  background: var(--surface); border-radius: 28px; text-decoration: none;
  transition: transform .2s ease;
}
.strip-track a:hover { transform: translateY(-4px); }
.strip-track img { width: 100%; height: 140px; object-fit: contain; }
.strip-track span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
@keyframes strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .strip-track li { padding-right: 12px; }
  .strip-track a { width: 160px; height: 160px; padding: 16px; border-radius: 22px; }
  .strip-track img { height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(24px, 4vw, 48px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 28px 24px 28px 0; }
.facts-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-num { font: 600 clamp(26px, 3vw, 36px)/1 var(--f-head); letter-spacing: -0.03em; margin-bottom: 10px; }
.facts-grid p:not(.fact-num) { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { padding: 22px 16px 22px 0; }
  .facts-grid > div + div { padding-left: 0; border-left: 0; }
  .facts-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 820px; }
.section-head .label { margin-bottom: 16px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section-head.row h2 { font-size: clamp(26px, 3.4vw, 40px); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .label { color: #9AA1A9; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; }
.split > div:first-child .label { margin-bottom: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Category bento */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border-radius: var(--radius-lg); padding: 28px;
  min-height: 280px; text-decoration: none; overflow: hidden;
  grid-column: span 4;
  transition: transform .2s ease;
}
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile h3 { font-size: clamp(22px, 2.2vw, 28px); max-width: 15ch; }
.cat-tile p:not(.label) { color: var(--muted); font-size: 14px; max-width: 34ch; }
.cat-img { margin-top: auto; display: flex; justify-content: flex-end; }
.cat-img img { max-height: 120px; width: auto; max-width: 70%; object-fit: contain; }
.cat-arrow { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: background .2s; }
.cat-tile:hover .cat-arrow { background: var(--accent); }
.cat-0, .cat-1 { grid-column: span 6; min-height: 340px; }
.cat-0 .cat-img img, .cat-1 .cat-img img { max-height: 160px; }
.cat-repair { background: var(--accent); grid-column: span 4; }
.cat-repair p:not(.label), .cat-repair .label { color: var(--ink-2); }
.cat-repair .cat-arrow { background: var(--ink); color: #fff; }
.cat-6 { grid-column: span 4; }
.also { margin-top: 24px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .cat-tile, .cat-0, .cat-1, .cat-repair, .cat-6 { grid-column: span 6; min-height: 240px; }
}
@media (max-width: 560px) {
  .cat-grid { gap: 12px; }
  .cat-tile, .cat-0, .cat-1, .cat-repair, .cat-6 { grid-column: span 12; min-height: 0; padding: 22px; border-radius: 24px; }
  .cat-img img, .cat-0 .cat-img img, .cat-1 .cat-img img { max-height: 100px; }
}

/* Why list */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid #2A3038; }
.why-list li:last-child { border-bottom: 1px solid #2A3038; }
.why-list .mono { color: var(--accent); font-size: 13px; padding-top: 4px; }
.why-list h3 { margin-bottom: 6px; }
.why-list p { color: #B4BAC1; }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 600 18px/1.3 var(--f-head); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 28px/1 var(--f-body); flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* CTA band */
.cta-band { padding: 0 var(--gutter) clamp(48px, 7vw, 96px); }
.cta-inner { background: var(--accent); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.cta-inner .label { color: var(--ink-2); margin-bottom: 12px; }
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 16ch; margin-bottom: 12px; }
.cta-inner p:not(.label) { color: var(--ink-2); max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band .btn-line:hover { background: var(--ink); color: var(--accent); }
@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; border-radius: 24px; }
  .cta-actions .btn { width: 100%; }
}

/* Page head */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head .label { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(44px, 8vw, 112px); line-height: .92; letter-spacing: -0.05em; max-width: 14ch; }
.page-head .lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 60ch; }

/* Listing */
.listing { padding-bottom: clamp(48px, 7vw, 96px); }
.filters { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; z-index: 10; background: var(--bg); padding: 12px 0; }
@media (min-width: 821px) { .chips { flex-wrap: wrap; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 500; font-size: 14px; }
.chip span { font: 500 11px var(--f-mono); color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-current="page"] span { color: var(--accent); }
.search input {
  width: 100%; max-width: 420px; height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font: 16px var(--f-body); color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--ink); }
.result-count { font-size: 12px; color: var(--muted); margin: 8px 0 16px; text-transform: uppercase; letter-spacing: .08em; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: 24px; overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 12px 32px -16px rgba(11, 15, 20, .25); }
.tile-photo { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; background: #fff; border-bottom: 1px solid #F0EEE8; }
.tile-photo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.no-photo { color: var(--muted); font-size: 12px; background: #FAFAF7; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.card-model { font-size: 24px; letter-spacing: -0.03em; }
.card-name { color: var(--muted); font-size: 14px; line-height: 1.4; }
.card-meta { font-size: 11px; color: var(--ink-2); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }
.empty { padding: 40px 0; color: var(--muted); }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card a { border-radius: 18px; }
  .tile-photo { padding: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-model { font-size: 19px; }
  .card-name { font-size: 12.5px; }
  .card-meta { display: none; }
}

/* Product detail */
.product { padding-top: 28px; padding-bottom: clamp(48px, 7vw, 96px); }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .06em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.product-photo { background: #fff; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 10%; }
/* Catalogue scans are small: cap the upscale so they stay sharp. */
.product-photo img { width: auto; height: auto; max-width: min(100%, 300px); max-height: min(100%, 260px); min-width: 60%; object-fit: contain; }
.photo-note { font-size: 11px; color: var(--muted); margin-top: 12px; }
.product-info .label { margin-bottom: 12px; }
.product-model { font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: -0.05em; word-break: break-word; }
.product-name { font: 500 20px/1.3 var(--f-head); margin-top: 12px; color: var(--ink-2); }
.product-desc { margin-top: 20px; color: var(--ink-2); max-width: 54ch; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spec-title { margin-top: 40px; margin-bottom: 8px; font-weight: 400; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-weight: 500; }
.spec-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-photo { border-radius: 24px; aspect-ratio: 4 / 3; padding: 10%; }
  .product-actions .btn { flex: 1 1 100%; }
  .specs div { grid-template-columns: 130px 1fr; }
}

/* Repair */
.repair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.repair-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.repair-card.accent { background: var(--accent); }
.repair-card.accent .label { color: var(--ink-2); }
.repair-card .label { margin-bottom: 20px; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { padding: 14px 0 14px 32px; border-top: 1px solid rgba(11, 15, 20, .12); font: 500 18px/1.35 var(--f-head); position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--dark-2); border-radius: 24px; padding: 28px; }
.step-num { color: var(--accent); font-size: 13px; display: block; margin-bottom: 40px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: #B4BAC1; font-size: 15px; }
@media (max-width: 900px) {
  .repair-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step-num { margin-bottom: 16px; } }

/* About / contact */
.prose p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.contact-card .label { margin-bottom: 14px; }
.contact-card h2 { font-size: clamp(26px, 3vw, 36px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; }
.contact-list dd .link-arrow { margin-top: 6px; font-size: 14px; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: #E8E6DF; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 320px; }
  .contact-list div { grid-template-columns: 100px 1fr; }
}

/* Footer */
.site-footer { background: var(--dark); color: #C9CED4; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .label { color: #8B929A; margin-bottom: 12px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand img { background: #fff; padding: 6px; border-radius: 10px; width: 48px; margin-bottom: 16px; }
.footer-name { color: #fff; font-weight: 600; margin-bottom: 10px; }
.footer-name .mono { color: #8B929A; font-weight: 400; font-size: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid #2A3038; font-size: 12px; color: #8B929A; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.05); }
