:root {
  color-scheme: dark;
  --background: #050a12;
  --surface: #0c1826;
  --text: #f4f8fc;
  --muted: #aabed1;
  --accent: #32d8ff;
  --line: #27415a;
  --focus: #8eeaff;
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); font: 1rem/1.6 var(--font); }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.shell { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem 1rem; transform: translateY(-150%); background: var(--accent); color: var(--background); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .48rem; text-decoration: none; }
.brand-mark {
  position: relative;
  width: clamp(4.15rem, 20vw, 5.4rem);
  aspect-ratio: 880 / 173;
  overflow: hidden;
  flex: none;
  mix-blend-mode: lighten;
}
.brand-mark img {
  /* Ventana de 880 × 173 px sobre las letras del logo, desde (585, 213). */
  position: absolute;
  width: calc(2048 / 880 * 100%);
  height: auto;
  left: calc(-585 / 880 * 100%);
  top: calc(-213 / 173 * 100%);
}
.brand-name { color: var(--accent); font-size: .78rem; font-weight: 650; letter-spacing: .12em; }
nav a { display: inline-flex; padding: .65rem .15rem; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .3em; }
.hero { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero h1 { max-width: 13ch; font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 720; line-height: 1.02; letter-spacing: -.065em; }
.hero-copy p { max-width: 37ch; font-size: clamp(1.08rem, 1.9vw, 1.24rem); margin-block: 1.5rem 1.85rem; color: var(--muted); }
.hero-mark { overflow: hidden; border-radius: 1.4rem; border: 1px solid var(--line); box-shadow: 0 22px 90px #068cc029; background: #02070d; }
.hero-mark img { display: block; width: 100%; height: auto; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1.15rem; border-radius: .7rem; background: var(--accent); color: var(--background); font-weight: 760; text-decoration: none; }
.button:hover { background: var(--focus); }
.products { padding-block: 1.25rem 6rem; scroll-margin-top: 2rem; }
.products h2 { margin-bottom: 1.4rem; font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -.045em; line-height: 1.15; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.product { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.45rem, 3.2vw, 2.4rem); border: 1px solid var(--line); border-radius: 1.15rem; background: var(--surface); }
.product.agenda { background: linear-gradient(145deg, #0e2638, var(--surface) 72%); border-color: #2b536b; }
.product-name { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.45rem; }
.product h3 { font-size: 1.32rem; letter-spacing: -.022em; line-height: 1.22; }
.product-icon { position: relative; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; border-radius: .58rem; background: #103047; color: var(--accent); }
.product-icon::before { content: ""; width: 1rem; height: .92rem; border: 2px solid currentColor; border-radius: .13rem; }
.product-icon::after { content: ""; position: absolute; width: .75rem; border-top: 2px solid currentColor; }
.calendar-icon::after { transform: translateY(-.16rem); }
.stock-icon::after { width: .3rem; transform: translateY(-.17rem); }
.product .product-lead { margin-bottom: .35rem; color: var(--text); font-size: 1.09rem; font-weight: 660; }
.product p { color: var(--muted); }
.product .availability { margin-top: auto; padding-top: 1.5rem; font-size: .94rem; color: var(--accent); font-weight: 620; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row > span { color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .shell { width: min(100% - 2rem, 1160px); }
  .header-row, .footer-row { min-height: 66px; gap: .6rem; }
  .hero, .product-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 3.6rem 3.8rem; gap: 2.2rem; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.5rem); }
  .hero-mark { border-radius: 1rem; }
  .products { padding-bottom: 4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
