/* ---------------------------------------------------------------------------
   Dr. Mobile — sistema de diseño "clínica de celulares"
   Paleta del logo: papel hueso, verde profundo y verde neón.
   Tipografía: sans del sistema con tracking cerrado; etiquetas en mono.
   --------------------------------------------------------------------------- */

:root {
  --ink: #0b1a0c;
  --ink-2: #102410;
  --ink-3: #17321a;
  --paper: #f4f7f0;
  --paper-2: #e8efdf;
  --paper-3: #f7fbf2;
  --surface: #ffffff;
  --mint: #52e600;
  --mint-deep: #1a7500;
  --mint-ink: #145c00;
  --mint-soft: #edfadd;
  --mint-line: #c9f0a8;
  --danger: #a52e1c;
  --danger-soft: #fcebe7;
  --danger-line: #f0c3b6;
  --ink-soft: #eaf3e1;
  --muted: #5c6757;
  --on-dark: #dfeadb;
  --on-dark-soft: #b2c3ad;
  --on-dark-muted: #a3b79e;
  --line: #e1e7d8;
  --line-strong: #c8d3bd;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 0 rgba(11, 26, 12, .04), 0 10px 26px rgba(11, 26, 12, .05);
  --shadow: 0 24px 60px rgba(11, 26, 12, .14);
  --wrap: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--mint-deep); }
::selection { background: var(--mint); color: var(--ink); }

h1, h2, h3, h4 {
  line-height: 1.02;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.035em;
  font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: .98rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.1rem; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main { display: block; }
.section { padding: 92px 0; }
.section--tight { padding: 54px 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .btn:not(.btn--ghost):not(.btn--light),
.banner .btn:not(.btn--ghost):not(.btn--light) { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.section--dark .btn:not(.btn--ghost):not(.btn--light):hover,
.banner .btn:not(.btn--ghost):not(.btn--light):hover { background: #fff; border-color: #fff; color: var(--ink); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--on-dark-soft); }
.section--alt { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--mint);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--mint); }
.lead { font-size: 1.04rem; color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hidden { display: none !important; }
[data-margin] { margin-top: 22px; }
[data-center] { justify-content: center; }
.row[data-stars] { color: var(--mint-deep); gap: 2px; }
.row[data-stars] .icon { width: 16px; height: 16px; fill: currentColor; }

button.card { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
button.card:hover { border-color: var(--ink); }
button.card[data-selected="true"] { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
details.card summary { cursor: pointer; list-style: none; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after {
  content: "+";
  float: right;
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--mint-deep);
}
details.card[open] summary::after { content: "–"; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.btn:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--dark { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn--dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn--sm { padding: 9px 15px; font-size: .86rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; background: transparent; border-color: var(--line); }
.card--pad-lg { padding: 34px; }
.card h3 { margin-bottom: 8px; }
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--mint);
  margin-bottom: 16px;
}
.section--dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .1); }
.section--dark .card__icon { background: var(--mint); color: var(--ink); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--mint-soft);
  color: var(--mint-ink);
}
.badge--navy { background: var(--paper-2); color: var(--ink-2); }
.badge--muted { background: #eef2e8; color: var(--muted); }
.price { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price s { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 8px; }

/* ----------------------------------------------------------------- header */
.topbar { background: #07130a; color: var(--on-dark-muted); font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--mint); }
.topbar a:hover { color: #fff; }
.topbar .row { gap: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 26, 12, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 60px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #dbe7d6;
}
.nav a:hover { background: rgba(82, 230, 0, .14); color: #fff; }
.nav a[aria-current="page"] { background: var(--mint); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.header-actions .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.header-actions .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .26); color: #fff; }
.header-actions .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.burger { display: none; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(82, 230, 0, .22), transparent 62%),
    linear-gradient(180deg, #08140a 0%, #0d2411 62%, #08140a 100%);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 420px at 70% 20%, #000, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 52px;
  align-items: center;
  padding: 84px 0 76px;
}
.hero h1 { color: #fff; margin-bottom: 18px; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { color: var(--on-dark-soft); font-size: 1.08rem; max-width: 46ch; }
.hero .eyebrow { color: var(--mint); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero .btn { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.hero .btn:hover { background: #fff; border-color: #fff; }
.hero .btn--dark { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn--dark:hover { background: var(--mint); border-color: var(--mint); }
.hero .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__badges span {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  padding: 6px 10px;
}

/* tarjeta tipo orden de reparación */
.hero__art {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
}
.hero__art-inner { background: var(--paper-3); border-radius: 12px; padding: 22px; color: var(--ink); }
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.ticket-head strong { font-size: .95rem; letter-spacing: -.01em; }
.ticket-head .badge { background: var(--ink); color: var(--mint); }
.hero__art h3 { font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.checklist .icon { color: var(--mint-deep); margin-top: 3px; width: 18px; height: 18px; }
.section--dark .checklist .icon { color: var(--mint); }
.hero__art .btn { margin-top: 18px; }

/* cifras */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.stats div { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 1.85rem; letter-spacing: -.04em; color: var(--mint); }
.stats span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;   color: var(--on-dark-muted);
}

/* --------------------------------------------------------------- products */
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translateY(-3px); border-color: var(--line-strong);   box-shadow: 0 18px 34px rgba(11, 26, 12, .09); }
.product__art {
  background:
    linear-gradient(rgba(11, 26, 12, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 12, .05) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 22px 22px, 22px 22px, auto;
  padding: 26px 18px;
  display: grid;
  place-items: center;
  min-height: 148px;
  position: relative;
  border-bottom: 1px solid var(--line);
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.product__art svg { width: 62px; height: 62px; color: var(--ink); position: relative; z-index: 1; }
.product__art[data-photo="true"] { padding: 0; min-height: 190px; }
.product__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.product__art::after {
  content: "Ver ficha";
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint-ink);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(11, 26, 12, .08);
  border-radius: 4px;
  padding: 3px 6px;
  opacity: 0;
  transition: opacity .18s ease;
}
.product:hover .product__art::after { opacity: 1; }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { font-weight: 700; font-size: .95rem; color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -.01em; }
.product__name-btn { font: inherit; font-weight: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.product__name-btn:hover { color: var(--mint-deep); }
.product__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }

/* ----------------------------------------------------- chips and filters */
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: .15s ease;
}
.chip:hover { border-color: var(--ink); background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--mint); }
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.filters .field:last-child { justify-self: stretch; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.check { display: flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; }
.check input { width: auto; }
input, select, textarea {
  font: inherit;
  font-size: .94rem;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
textarea { min-height: 112px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .col-2 { grid-column: 1 / -1; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin: 0; border: 1px solid transparent; }
.alert--ok { background: var(--mint-soft); color: var(--mint-ink); border-color: var(--mint-line); }
.alert--err { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }

/* ------------------------------------------------------------------ steps */
.steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.step {
  flex: 1 1 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.step strong { display: block; color: var(--ink); font-size: .86rem; font-family: var(--font); letter-spacing: -.01em; }
.step[data-state="current"] { border-color: var(--ink); background: var(--ink); color: var(--mint); }
.step[data-state="current"] strong { color: #fff; }
.step[data-state="done"] { border-color: var(--mint); background: var(--mint-soft); color: var(--mint-ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot {
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-family: var(--mono);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--mint); }
.slot[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* ------------------------------------------------------------ hours table */
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--ink); }
.section--dark .hours td { border-color: rgba(255, 255, 255, .12); }
.section--dark .hours td:last-child { color: #fff; }
.site-footer .hours td { border-color: rgba(255, 255, 255, .14); }
.site-footer .hours td:last-child { color: var(--on-dark); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: 64px 0 26px; }
.site-footer h3 {
  color: #fff;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--mint); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .brand img { height: 64px; }
.site-footer p, .site-footer li { font-size: .88rem; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li + li { margin-top: 7px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 34px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 38px;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-admin {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  vertical-align: middle;
}
.footer-admin:hover, .footer-admin:focus-visible { opacity: 1; background: rgba(255, 255, 255, .1); }

/* --------------------------------------------------------- cart / drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(430px, 94vw);
  background: var(--paper);
  box-shadow: -30px 0 70px rgba(11, 26, 12, .28);
  transform: translateX(105%);
  transition: transform .26s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: none; }
.drawer__head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer__head strong { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.drawer__body { padding: 18px 22px; flex: 0 0 auto; display: grid; gap: 14px; align-content: start; }
/* Todo el cajón se desplaza junto: en pantallas bajas el pie con «Enviar pedido»
   queda debajo y se alcanza con el scroll, en vez de quedar cortado. */
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--surface); flex: 0 0 auto; margin-top: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-line strong { font-size: .9rem; }
.cart-line__qty { display: flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty-btn:hover { border-color: var(--ink); }
.qty-btn .icon { width: 16px; height: 16px; }
.scrim { position: fixed; inset: 0; background: rgba(11, 26, 12, .58); z-index: 55; backdrop-filter: blur(2px); }
/* Campo trampa contra robots: fuera de pantalla, nunca visible ni enfocable. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--mint);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 80;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .03em;
  max-width: 92vw;
}
.fabs {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 18px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 14px 34px rgba(11, 26, 12, .3);
}
.fab:hover { background: var(--ink); color: var(--mint); transform: translateY(-1px); }
.fab--chat { background: var(--ink); color: var(--mint); }
.fab--chat:hover { background: var(--mint); color: var(--ink); }

/* Burbuja del chat: panel flotante sobre la página, no una pestaña nueva. */
.chat-bubble {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 60;
  width: 380px;
  height: min(620px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 26, 12, .12);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(11, 26, 12, .34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.chat-bubble[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.chat-bubble__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  background: var(--ink);
  color: var(--mint);
}
.chat-bubble__id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-bubble__id strong { display: block; font-size: .95rem; line-height: 1.15; }
.chat-bubble__id small { display: block; margin-top: 2px; font-size: .72rem; color: rgba(238, 245, 230, .72); }
.chat-bubble__dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(238, 245, 230, .14); }
.chat-bubble__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(238, 245, 230, .2);
  border-radius: 9px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.chat-bubble__close:hover { background: rgba(238, 245, 230, .14); }
.chat-bubble__close .icon { width: 18px; height: 18px; }
.chat-bubble__frame { flex: 1 1 auto; border: 0; }
@media (max-width: 560px) {
  .fabs { right: 12px; bottom: 12px; gap: 8px; }
  .fabs .fab { padding: 11px 14px; font-size: .84rem; }
  .chat-bubble { left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); width: auto; height: min(68dvh, calc(100dvh - 134px), 560px); border-radius: 14px; }
  .chat-bubble__close { width: 40px; height: 40px; }
}
@media (max-width: 360px) {
  .fabs { flex-direction: column; align-items: flex-end; }
  .chat-bubble { bottom: calc(122px + env(safe-area-inset-bottom, 0px)); }
}
/* Teclado móvil abierto: la altura útil es mínima. El chat toma la pantalla y
   los botones flotantes se ocultan para no quedar bajo el teclado ni robarla
   espacio al campo de escritura. Al cerrar el chat vuelven a aparecer. */
@media (max-width: 560px) and (max-height: 480px) {
  body.chat-open .fabs { display: none; }
  body.chat-open .chat-bubble {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px));
    border-radius: 12px;
  }
  body.chat-open .chat-bubble__close { width: 44px; height: 44px; }
}

/* ----------------------------------------------------- banner promocional */
.banner { background: var(--ink-2); color: var(--on-dark); padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.banner__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.banner h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0 0 6px; }
.banner p { margin: 0; color: var(--on-dark-soft); max-width: 62ch; }
.banner img { height: 72px; width: auto; }
.banner .row { gap: 10px; }
.banner__logo { flex: 0 0 auto; }

/* ------------------------------------------------------ ficha de producto */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 26, 12, .66);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
}
.modal__art {
  background:
    linear-gradient(rgba(11, 26, 12, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 12, .05) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 22px 22px, 22px 22px, auto;
  display: grid;
  place-items: center;
  padding: 30px;
  min-height: 260px;
}
.modal__art svg { width: 110px; height: 110px; color: var(--ink); }
.modal__art[data-photo="true"] { padding: 0; position: relative; }
.modal__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 28px; }
.modal__body h2 { font-size: 1.5rem; margin-bottom: 10px; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}
.modal { position: fixed; }
.modal__body .price { font-size: 1.5rem; }

/* ------------------------------------------------------------------ admin */
.admin-shell { display: grid; grid-template-columns: 258px 1fr; min-height: 100vh; background: var(--paper); }
.admin-side { background: var(--ink); color: var(--on-dark-soft); padding: 24px 16px; }
.admin-side img { height: 40px; width: auto; margin-bottom: 22px; }
.admin-side button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 7px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  margin-bottom: 2px;
}
.admin-side button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-side button[aria-current="true"] { background: var(--mint); color: var(--ink); font-weight: 700; }
.admin-main { padding: 28px 32px 90px; max-width: 1180px; }
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 240, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 24px;
}
.repeat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fff; margin-bottom: 12px; }
.repeat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.repeat--fold { padding: 12px 14px; }
.repeat--fold .repeat__head { margin-bottom: 0; }
.repeat__toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.repeat__chev { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: .95rem; line-height: 1; transition: transform .18s ease, background .18s ease; }
.repeat__toggle[aria-expanded="true"] .repeat__chev { transform: rotate(90deg); background: var(--mint); color: var(--ink); }
.repeat__title { font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repeat__meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repeat__toggle:hover .repeat__title { color: var(--mint-deep); }
.repeat--fold .form-grid:not([hidden]) { margin-top: 14px; }
.image-field__preview { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: #fff; min-height: 120px; display: grid; place-items: center; padding: 8px; overflow: hidden; }
.image-field__preview img { max-width: 100%; max-height: 220px; object-fit: contain; display: block; }
.form-grid[hidden] { display: none; }
#arraySearch { flex: 1 1 220px; max-width: 340px; }
.login-card { max-width: 420px; margin: 10vh auto; }
.login-logo { height: 62px; width: auto; margin-bottom: 10px; background: var(--ink); padding: 9px 12px; border-radius: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper-2); }
.lead-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fff; margin-bottom: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 64px 0 58px; }
  .hero h1 { max-width: 20ch; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; gap: 6px; overflow-x: auto; align-items: center; padding: 14px 16px; }
  .admin-side img { height: 32px; margin: 0 10px 0 0; }
  .admin-side button { margin: 0; white-space: nowrap; width: auto; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__art { min-height: 170px; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 100%;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 2px;
    /* En pantallas bajas el menú no cabe entero: se desplaza dentro de sí mismo
       para que el último enlace nunca quede cortado. La altura disponible la
       calcula el JS al abrirlo, porque depende de dónde quede el encabezado. */
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header[data-nav="open"] .nav { display: flex; }
  .burger { display: inline-flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section--tight { padding: 40px 0; }
  .brand img { height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .header-cta { display: none; }
  .hero__art-inner { padding: 18px; }
  .wrap { padding: 0 18px; }
  .banner img { height: 58px; }
  .banner__inner { gap: 18px; }
  .site-footer .brand img { height: 56px; }
}
/* ===========================================================================
   Capa visual 2026 — movimiento, profundidad y microinteracciones.
   Todo es progresivo: si el navegador no soporta una animación, el sitio
   se ve exactamente igual que antes.
   =========================================================================== */

html { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* --------------------------------------------------- barra de progreso */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint), #d8ffae);
  box-shadow: 0 0 18px rgba(82, 230, 0, .55);
  z-index: 100;
  pointer-events: none;
}

/* ------------------------------------------------------- header vivo */
.site-header { transition: background-color .28s ease, box-shadow .28s ease; }
.site-header[data-scrolled="true"] {
  background: rgba(7, 18, 9, .92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}
.brand img { transition: height .28s ease; }
.site-header[data-scrolled="true"] .brand img { height: 46px; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(620px circle at var(--glow-x, 84%) var(--glow-y, 8%), rgba(82, 230, 0, .24), transparent 64%),
    radial-gradient(900px 420px at 82% 0%, rgba(82, 230, 0, .16), transparent 62%),
    linear-gradient(180deg, #08140a 0%, #0d2411 62%, #08140a 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -58%;
  right: -16%;
  width: min(1000px, 125vw);
  height: min(1000px, 125vw);
  background: conic-gradient(from 140deg at 50% 50%,
    rgba(82, 230, 0, .34), transparent 34%, rgba(150, 255, 90, .12) 58%, transparent 80%);
  filter: blur(70px);
  opacity: .85;
  animation: auroraSpin 30s linear infinite;
  pointer-events: none;
}
.hero h1 { animation: riseIn .95s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 em {
  background: linear-gradient(100deg, var(--mint), #e2ffbf 52%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--mint);
  -webkit-text-fill-color: transparent;
}
.hero .eyebrow { animation: riseIn .7s ease both; }
.hero .lead { animation: riseIn .95s cubic-bezier(.2, .7, .2, 1) .1s both; }
.hero__cta { animation: riseIn .95s cubic-bezier(.2, .7, .2, 1) .2s both; }
.hero__badges { animation: riseIn .95s cubic-bezier(.2, .7, .2, 1) .3s both; }
.hero__art { animation: riseIn 1.05s cubic-bezier(.2, .7, .2, 1) .16s both; }
.hero__art-inner {
  position: relative;
  overflow: hidden;
  animation: floaty 9s ease-in-out 1.2s infinite;
}
.hero__art-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -45%;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(82, 230, 0, .16), transparent);
  animation: scanline 6s ease-in-out infinite;
  pointer-events: none;
}
.hero__art .badge { animation: badgePulse 2.8s ease-in-out infinite; }

@keyframes auroraSpin { to { transform: rotate(360deg); } }
@keyframes floaty { 50% { transform: translateY(-9px); } }
@keyframes scanline { 0%, 100% { top: -45%; } 58% { top: 105%; } }
@keyframes badgePulse { 50% { box-shadow: 0 0 0 6px rgba(82, 230, 0, .14); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- revelado scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: none;
}
[data-reveal][data-in="true"] {
  opacity: 1;
  transform: none;
  transition:
    opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms),
    transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}

/* -------------------------------------------------- profundidad de secciones */
.section--dark { position: relative; overflow: hidden; }
.section--dark::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -65%;
  width: 70%;
  height: 480px;
  background: radial-gradient(closest-side, rgba(82, 230, 0, .18), transparent);
  pointer-events: none;
}
.section--dark > .wrap { position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, #ffffff, var(--paper-3)); }

/* ---------------------------------------------------------- spotlight card */
.card, .product { position: relative; isolation: isolate; }
.card::before,
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(82, 230, 0, .16), transparent 62%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.card::before { z-index: -1; }
.card:hover::before,
.product:hover::before { opacity: 1; }
.card > *, .product > * { position: relative; z-index: 1; }

/* -------------------------------------------------------------- botones */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .45) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .65s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }

/* --------------------------------------------------------------- marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  padding: 6px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 10px; padding-right: 10px; }
.marquee .chip { white-space: nowrap; background: var(--surface); }
.marquee .chip:hover { transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------- microinteracciones */
.chip { transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease; }
.chip:hover { transform: translateY(-2px); }
.product__art svg { transition: transform .38s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product__art svg { transform: scale(1.12) rotate(-3deg); }
.product__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at 50% 0%, rgba(82, 230, 0, .18), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
}
.product:hover .product__art::before { opacity: 1; }
.stats strong { transition: transform .3s ease, color .3s ease; }
.stats div:hover strong { transform: translateY(-2px); }
details.card { transition: border-color .2s ease, background-color .2s ease; }
details.card[open] { border-color: var(--mint-line); background: var(--mint-soft); }

/* ---------------------------------------------------------------- móvil */
@media (max-width: 760px) {
  .hero::before { filter: blur(52px); opacity: .7; }
  .hero__art-inner { animation: none; }
  .marquee__track { animation-duration: 20s; }
  .site-header[data-scrolled="true"] .brand img { height: 40px; }
}

/* --------------------------------------------------- menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .scroll-progress { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; transform: none; }
}

/* ------------------------------------------------ aviso de módulo vacío (panel) */
.empty-note {
  border: 1px dashed var(--line-strong);
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.empty-note strong {
  display: block;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.empty-note p { margin: 0; font-size: .88rem; color: var(--muted); }
.empty-note p + p { margin-top: 4px; }
.empty-note ul { margin: 4px 0 0; padding-left: 18px; font-size: .88rem; color: var(--muted); }
.empty-note li + li { margin-top: 2px; }

/* --- Seguimiento de pedidos ------------------------------------------- */
.track-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 18px 0 0; counter-reset: step; }
.track-steps li { flex: 1; position: relative; padding: 10px 8px 10px 30px; border-radius: 12px; background: rgba(11, 26, 12, .06); font-size: .85rem; }
.track-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: #c9d3ca; color: #0b1a0c; font-size: 11px; display: grid; place-items: center; }
.track-steps li.is-done { background: rgba(0, 168, 107, .14); }
.track-steps li.is-done::before { background: #00875a; color: #fff; }

/* --- Galería de trabajos --------------------------------------------- */
.gallery-card { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(11, 26, 12, .08); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-card figcaption { padding: 14px 16px; display: grid; gap: 4px; }

/* --- Agenda y analítica del panel ------------------------------------ */
.agenda-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(11, 26, 12, .08); padding-top: 10px; }
.agenda-move summary { list-style: none; cursor: pointer; }
.agenda-move summary::-webkit-details-marker { display: none; }
.analytics-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.analytics-list li { display: flex; justify-content: space-between; gap: 12px; }

/* --- Badge de Netlify --------------------------------------------------
   En el plan Free Netlify inyecta «Powered by Netlify» y el panel no deja
   apagarlo (el ajuste pide plan de pago). El script del badge monta un iframe
   fijo abajo a la derecha, con id "nl-badge-frame", que quedaba encima del
   botón de chat. Se oculta solo ese iframe; el resto del sitio no cambia. */
#nl-badge-frame { display: none !important; }
