/* Autoprop Studio · web v1 «Marino». Una hoja para todo el sitio. Sin fuentes externas ni cookies. */
:root {
  --bg: #0b1730; --bg-2: #0f1e3d; --surface: #142649; --line: #24396a;
  --fg: #eef2fa; --muted: #a8b6d2;
  --amber: #ffb020; --studio: #5cc8ff; --relay: #ffb020; --lights: #ff7a59; --rec: #e2312f;
  --c: var(--amber);
  --font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
a:hover { color: #ffc95c; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: #1a1200; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

/* cabecera */
.head { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.head .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand svg { flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-weight: 900; font-size: 20px; letter-spacing: -0.01em; }
.brand small { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; color: var(--amber); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--c); }

/* botones */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--fg); }
.btn:hover { color: var(--fg); border-color: var(--muted); }
.btn.primary { background: var(--c); border-color: var(--c); color: #160e00; }
.btn.primary:hover { filter: brightness(1.07); color: #160e00; }

/* bloques */
.section { border-top: 1px solid var(--line); padding: 72px 0; }
.section.alt { background: var(--bg-2); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; }
.intro { margin-top: 12px; color: var(--muted); max-width: 40em; }
.grid.grid4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 32px; }

/* portada */
.hero { padding: 80px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; }
.hero h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); }

/* tarjetas de producto */
.card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; }
.card:hover { color: var(--fg); border-color: var(--c); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card .pic { height: 190px; display: grid; place-items: center; }
.card .pic img { max-height: 190px; width: 100%; object-fit: contain; }
.card .pic img.cover { object-fit: cover; height: 190px; border-radius: 10px; }
.card .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--c); }
.card h3 { font-size: 24px; font-weight: 800; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card .more { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--c); }
.studio { --c: var(--studio); } .relay { --c: var(--relay); } .lights { --c: var(--lights); }

/* pasos */
.step { border-top: 3px solid var(--c); padding-top: 18px; }
.step b { font-size: 14px; color: var(--c); }
.step h3 { margin-top: 8px; font-size: 21px; }
.step p { margin-top: 8px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface); border: 1px solid var(--c); color: var(--c); }
.steps .n.rec { background: var(--rec); border-color: var(--rec); color: #fff; }
.steps .n.fill { background: var(--c); color: #160e00; }
.steps span { line-height: 1.55; }
.steps small { display: block; color: var(--muted); font-size: 16px; }

/* producto */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 32px; }
.crumbs a { color: var(--muted); }
.phero { padding-bottom: 64px; }
.phero .grid { align-items: center; gap: 48px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--c); color: var(--c); }
.phero h1 { margin-top: 16px; font-size: clamp(38px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; }
.phero h1 span { color: var(--c); }
.tag { margin-top: 14px; font-size: 21px; font-weight: 500; }
.desc { margin-top: 14px; color: var(--muted); }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feat h3 { font-size: 19px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.table { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; }
@media (max-width: 600px) { .table th, .table td { padding: 12px 14px; } .table th { width: 40%; } }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-weight: 500; width: 34%; }

/* contacto */
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta > div { flex: 1 1 380px; }
.cta h2 { font-size: 32px; font-weight: 800; }
.cta p { margin-top: 10px; color: var(--muted); }
@media (max-width: 600px) { .cta { padding: 26px; } .section { padding: 56px 0; } .hero { padding: 48px 0 40px; } }

/* textos legales */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: #d6deee; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
mark { background: #3d2c00; color: #ffd27a; padding: 0 4px; border-radius: 3px; }

/* pie */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }
