/* AMITOSAI — amitosai.vip. Sin fuentes externas: Google Fonts no carga en China. */
:root {
  --red: #e10600;
  --red-dark: #b80500;
  --ink: #0b0b0c;
  --ink-2: #16161a;
  --ink-3: #232329;
  --text: #1d1d21;
  --muted: #5d5d66;
  --line: #e6e6e8;
  --bg-soft: #f5f5f4;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 48px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff4a43; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) { color: #d5d5da; text-decoration: none; font-size: .93rem; font-weight: 550; }
.nav a:not(.btn):hover { color: var(--white); }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.2); color: var(--white); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.lang-btn .ic { width: 16px; height: 16px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); padding: 6px; min-width: 150px; display: none; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .93rem; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current] { color: var(--red); font-weight: 700; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 9px 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url(/assets/img/hero-hdmi-8k.webp) right center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,11,12,.92) 38%, rgba(11,11,12,.45) 70%, rgba(11,11,12,.25) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 35%); }
.hero-in { position: relative; padding: clamp(80px, 12vw, 150px) 0 70px; max-width: 1200px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; max-width: 13em; letter-spacing: -.025em; }
.hero h1 span { color: var(--red); display: block; }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #c9c9cf; max-width: 38em; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); padding: 30px 0 46px; gap: 20px; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.stat span { color: #a9a9b1; font-size: .92rem; }

/* Sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.06rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-grid p { color: var(--muted); font-size: 1.06rem; }
.about-media { position: relative; margin: 0; }
.about-media > img:first-child { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.about-logo { position: absolute; left: -24px; bottom: -28px; background: var(--white); padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow); width: 240px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 90px; }
.principle { border-top: 2px solid var(--ink); padding-top: 22px; }
.principle .kanji { display: block; font-size: 2.1rem; color: var(--red); font-weight: 700; line-height: 1; margin-bottom: 14px; font-family: "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", "SimSun", serif; }
.principle h3 { text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.principle p { color: var(--muted); margin: 0; }

/* Categorías */
.cats-section { background: var(--bg-soft); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-media { aspect-ratio: 1; display: grid; place-items: center; padding: 18px; background: var(--white); }
.cat-main { max-height: 100%; width: auto; object-fit: contain; transition: opacity .2s; }
.cat-thumbs { display: flex; gap: 6px; padding: 0 16px 12px; }
.thumb { border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); padding: 2px; width: 46px; height: 46px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active, .thumb:hover { border-color: var(--red); }
.cat-body { padding: 4px 18px 22px; border-top: 1px solid var(--line); padding-top: 16px; flex: 1; }
.cat-body h3 { font-size: 1.18rem; }
.cat-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: #3b3b42; }

/* Productos */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s; }
.prod:hover { box-shadow: var(--shadow); }
.prod-media { aspect-ratio: 1; padding: 22px; display: grid; place-items: center; }
.prod-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s; }
.prod:hover .prod-media img { transform: scale(1.04); }
.prod-body { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.sku { font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.prod-body h3 { font-size: 1rem; margin: 4px 0 6px; }
.prod-cat { font-size: .82rem; color: var(--muted); }

/* Distribuidores */
.partners { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.partners-bg { position: absolute; inset: 0; background: url(/assets/img/lifestyle-router-wallbreaker.webp) center / cover no-repeat; opacity: .22; }
.partners-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,11,12,.6) 40%, var(--ink) 100%); }
.partners .wrap { position: relative; }
.partners .section-head p:last-child { color: #b9b9c1; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 26px; }
.benefit .ic { width: 30px; height: 30px; color: var(--red); margin-bottom: 16px; }
.benefit p { color: #b4b4bc; margin: 0; font-size: .95rem; }
.who { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.who h3 { margin: 0; }
.chips-dark li { background: rgba(255,255,255,.08); color: #e6e6ea; font-size: .86rem; padding: 7px 14px; }
.steps-title { margin-top: 60px; font-size: 1.4rem; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.step-n { font-size: .85rem; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.step h3 { margin: 8px 0 6px; }
.step p { color: #b4b4bc; font-size: .93rem; margin: 0; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { margin-top: 28px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .87rem; font-weight: 650; color: #303036; padding: 0; margin-bottom: 6px; }
.field abbr { color: var(--red); text-decoration: none; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border: 1.5px solid #d8d8dc; border-radius: 10px; background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,12,.08); }
.field .is-invalid { border-color: var(--red); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #127a3a; font-weight: 600; }
.form-status.err { color: var(--red-dark); font-weight: 600; }
.info { background: var(--ink); color: var(--white); border-radius: 18px; padding: 34px; position: sticky; top: 96px; }
.info > img { width: 220px; margin-bottom: 26px; }
.info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #ff4a43; }
.company { font-weight: 700; font-size: 1.1rem; }
.info-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; color: #d0d0d6; font-size: .95rem; }
.info-list .ic { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
.info-list span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #8d8d96; font-weight: 700; }
.info-list a { color: var(--white); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* Footer */
.footer { background: #070708; color: #a5a5ad; padding: 56px 0 28px; font-size: .9rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-nav, .footer-langs { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-langs a[aria-current] { color: var(--white); font-weight: 700; }
.footer-bottom { padding-top: 22px; font-size: .8rem; }
.footer-bottom p { margin: 0 0 6px; }

/* Responsive */
@media (max-width: 1080px) {
  .cats, .prods { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; border-bottom: 1px solid rgba(255,255,255,.1); display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .nav-cta { margin-top: 16px; }
  .lang { margin-left: auto; }
  .topbar.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.menu-open .burger span:nth-child(2) { opacity: 0; }
  .topbar.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-logo { left: 12px; bottom: -22px; width: 190px; }
  .principles, .benefits { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cats, .prods { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .info { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero-bg { background-position: 70% center; opacity: .55; }
  .principles, .benefits, .steps, .row2, .checks { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .prods { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-media { padding: 12px; }
  .prod-body { padding: 12px; }
  .prod-body h3 { font-size: .9rem; }
  .brand img { width: 128px; }
  .info { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 600px) {
  .cat-media { aspect-ratio: 4/3; }
}
