:root {
  --bg: #071018;
  --ink: #f4f7f6;
  --muted: #9aa8ad;
  --line: rgba(255, 255, 255, 0.1);
  --via: #0f766e;
  --via-bg: #edf4f1;
  --via-ink: #1f2e30;
  --via-muted: #5f6b6d;
  --ff: #ccff00;
  --card: rgba(255, 255, 255, 0.04);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(15, 118, 110, 0.16), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(204, 255, 0, 0.08), transparent 50%),
    var(--bg);
}
a { color: inherit; }
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 24, 0.82);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand span.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, #14b8a6, var(--ff));
}
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 28px;
  align-items: center;
}
.hero-mark {
  width: clamp(72px, 12vw, 112px);
  height: clamp(72px, 12vw, 112px);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hero-copy { min-width: 0; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; justify-items: start; }
}
nav.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
nav.menu a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}
nav.menu a:hover,
nav.menu a.active { color: var(--ink); background: rgba(255,255,255,0.06); }
main { max-width: 1080px; margin: 0 auto; padding: 56px 20px 80px; }
main.narrow { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}
/* Hero sin logo (p. ej. Quiénes somos): título largo en una sola línea en pantalla ancha */
.hero:not(:has(.hero-mark)) {
  grid-template-columns: 1fr;
}
.hero:not(:has(.hero-mark)) h1 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}
.hero p:not(.kicker), .prose p {
  max-width: 720px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
section.product, section.about, article.profile, .card {
  scroll-margin-top: 88px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.card { margin-bottom: 16px; }
section.product.ff { box-shadow: inset 0 1px 0 rgba(204, 255, 0, 0.28); }
section.product.via { box-shadow: inset 0 1px 0 rgba(204, 255, 0, 0.28); }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
h2 { margin: 0 0 12px; font-size: 1.8rem; }
h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.lead { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
ul.points, ul.facts, .card ul {
  margin: 0 0 24px;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}
.card ul { margin-bottom: 0; }
ul.points a, ul.facts a, .contact a { color: #99f6e4; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
a.btn.primary { background: var(--ff); color: #111; }
a.btn.secondary {
  background: transparent;
  color: var(--ff);
  border: 1px solid rgba(204, 255, 0, 0.4);
}
.via a.primary, a.btn.via-primary { background: var(--ff); color: #111; }
.via a.secondary, a.btn.via-secondary {
  background: transparent;
  color: var(--ff);
  border: 1px solid rgba(204, 255, 0, 0.4);
}
.ff a.primary, a.btn.ff-primary { background: var(--ff); color: #111; }
.ff a.secondary, a.btn.ff-secondary { border: 1px solid rgba(204, 255, 0, 0.4); color: var(--ff); }
/* WordPress must not break button rows */
.rycso-wp-content .actions br { display: none; }
.rycso-wp-content .actions p { margin: 0; display: contents; }
.rycso-wp-content .wp-block-group { margin: 0; }
.rycso-wp-content .wp-block-html { margin: 0; }
.rycso-wp-content > :first-child { margin-top: 0; }
.rycso-wp-content img { max-width: 100%; height: auto; border-radius: 16px; }
a.ghost { border: 1px solid var(--line); color: var(--ink); }
.review { border-left: 3px solid var(--ff); padding-left: 14px; margin: 0 0 16px; }
.review.via { border-left-color: var(--ff); }
.review p { margin: 0 0 6px; color: var(--ink); line-height: 1.5; }
.review span { color: var(--muted); font-size: 0.9rem; }
.stars { letter-spacing: 0.12em; color: var(--ff); }
.review.via .stars { color: var(--ff); }
.review-empty, .review-note { color: var(--muted); line-height: 1.5; margin: 0 0 18px; }
.review-form { display: grid; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-form h3 { margin: 0; }
.review-fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.review-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}
.review-form textarea { min-height: 120px; resize: vertical; grid-column: 1 / -1; }
.review-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.star-picker { display: flex; gap: 6px; flex-wrap: wrap; }
.star-picker input { position: absolute; opacity: 0; pointer-events: none; }
.review-form .star-picker label {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.05rem;
}
.star-picker input:focus-visible + label { outline: 2px solid var(--ff); }
.star-picker input:checked + label,
.review-form .star-picker label:hover {
  border-color: rgba(204, 255, 0, 0.55);
  color: #111;
  background: var(--ff);
}
.review-form button {
  justify-self: start;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ff);
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.review-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.review-status { margin: 0; min-height: 1.2em; font-size: 0.92rem; color: var(--muted); }
.review-status.is-ok { color: var(--ff); }
.review-status.is-error { color: #ff8a9b; }
@media (max-width: 640px) {
  .review-fields { grid-template-columns: 1fr; }
}
footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 20px 40px;
}
footer.site .bar { justify-content: space-between; text-align: left; padding: 0; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .copyright { cursor: default; user-select: none; }
/* Editor visual (WordPress admin) — mismo aspecto oscuro */
body.rycso-editor-body,
body#tinymce.rycso-editor-body {
  background: var(--bg) !important;
  color: var(--ink) !important;
}
.rycso-editor-body .hero h1,
.rycso-editor-body h1,
.rycso-editor-body h2,
.rycso-editor-body h3 {
  color: var(--ink);
}
.rycso-editor-body p,
.rycso-editor-body li,
.rycso-editor-body .lead,
.rycso-editor-body .kicker {
  color: var(--muted);
}
.rycso-editor-body section.product,
.rycso-editor-body article.profile,
.rycso-editor-body .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  footer.site .bar { flex-direction: column; align-items: flex-start; }
}
