:root {
  --bg: #fbfffc;
  --bg-soft: #f4fff8;
  --card: rgba(255,255,255,.88);
  --card-strong: #ffffff;
  --text: #102c1d;
  --muted: #55705f;
  --primary: #70d398;
  --primary-2: #c8f2d7;
  --primary-dark: #17683e;
  --line: rgba(24,104,62,.16);
  --shadow: 0 18px 50px rgba(22, 104, 62, .10);
  --shadow-strong: 0 24px 72px rgba(22, 104, 62, .16);
  --radius: 28px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #07140d;
  --bg-soft: #0d2115;
  --card: rgba(13, 32, 21, .82);
  --card-strong: #10281a;
  --text: #eafff0;
  --muted: #a8c7b3;
  --primary: #70d398;
  --primary-2: #245f3b;
  --primary-dark: #b4f0c6;
  --line: rgba(164, 235, 187, .16);
  --shadow: 0 20px 70px rgba(0,0,0,.35);
  --shadow-strong: 0 30px 90px rgba(0,0,0,.50);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 15% 15%, rgba(112,211,152,.28), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(168,231,189,.30), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(23,104,62,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23,104,62,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--primary); color: #06220f; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 58px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  background: rgba(112,211,152,.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 14px;
}
.title-xl {
  font-family: var(--brand-font);
  font-size: clamp(42px, 6.6vw, 80px);
  line-height: .96;
  letter-spacing: -0.07em;
  margin: 18px 0 14px;
}
.title-lg {
  font-family: var(--brand-font);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 16px;
}
.title-md {
  font-family: var(--brand-font);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  margin: 0;
}
.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #092514;
  padding: .02em .22em .08em;
  border-radius: .34em;
  display: inline-block;
  transform: rotate(-1deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}
.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--brand-font);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.035em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 750;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); background: rgba(112,211,152,.13); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.menu-toggle { display: none; }

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 18px;
  font-weight: 900;
  color: #092514;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  background-size: 170% 170%;
  box-shadow: 0 14px 32px rgba(112,211,152,.28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background-position .35s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -35%;
  width: 28%;
  height: 160%;
  background: rgba(255,255,255,.45);
  transform: skewX(-24deg) translateX(-220%);
  transition: transform .6s ease, opacity .35s ease;
  opacity: 0;
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 18px 42px rgba(112,211,152,.34); filter: saturate(1.06); background-position: 100% 0; }
.btn:hover::before { opacity: .9; transform: skewX(-24deg) translateX(520%); }
.btn:active { transform: translateY(0) scale(.985); }
.btn.secondary {
  background: var(--card);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost { background: transparent; color: var(--primary-dark); border: 1px solid var(--line); box-shadow: none; }
.btn.small { min-height: 38px; border-radius: 12px; padding: 9px 12px; font-size: 14px; }

.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.proof-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.proof-pill { padding:10px 13px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,.56); color: var(--primary-dark); font-weight:800; font-size:14px; box-shadow: 0 8px 24px rgba(22,104,62,.05); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}
[data-theme="dark"] .chip { background: rgba(16,40,26,.55); }
.hero-visual {
  min-height: 510px;
  position: relative;
}
.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px);
  padding: 22px;
  overflow: hidden;
}
.float-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(112,211,152,.34), transparent 42%);
  pointer-events: none;
}
.float-card > * { position: relative; z-index: 1; }
.card-main { width: 88%; right: 0; top: 20px; animation: floaty 7s ease-in-out infinite; }
.card-side { width: 58%; left: 0; bottom: 68px; animation: floaty 8s ease-in-out infinite reverse; }
.card-mini { width: 48%; right: 34px; bottom: 8px; animation: floaty 6.5s ease-in-out infinite; }
.mock-browser { background: var(--card-strong); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.mock-top { display: flex; align-items:center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-url { margin-left:8px; height:10px; flex:1; border-radius:999px; background: rgba(23,104,62,.08); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); opacity: .7; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-body-visual { gap: 14px; }
.hero-preview { height: 160px; border-radius: 24px; background: linear-gradient(135deg, rgba(112,211,152,.4), rgba(255,255,255,.75)); border: 1px solid var(--line); }
.preview-grid-2 { display:grid; grid-template-columns: 1.3fr .9fr; gap:10px; }
.block.tall { height: 102px; }
.preview-strip { height: 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(23,104,62,.16), transparent); }
.line { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), transparent); }
.line.short { width: 54%; }
.line.mid { width: 76%; }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.block { height: 74px; border-radius: 18px; background: linear-gradient(135deg, rgba(112,211,152,.38), rgba(255,255,255,.1)); border: 1px solid var(--line); }
.metric-row { display: grid; gap: 9px; }
.metric { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-weight: 750; }
.metric strong { color: var(--primary-dark); }
.orbit {
  position: absolute;
  inset: 46px 16px 0 34px;
  border: 1px dashed rgba(112,211,152,.45);
  border-radius: 45% 55% 52% 48%;
  animation: rotate 22s linear infinite;
  pointer-events: none;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 30px; letter-spacing: -.04em; color: var(--primary-dark); }
.stat-card span { color: var(--muted); font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: rgba(112,211,152,.45); }
.card h3 { margin: 0 0 12px; letter-spacing: -.04em; font-size: 22px; }
.card p { color: var(--muted); line-height: 1.65; margin: 0; }
.icon-bubble {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(112,211,152,.25);
  margin-bottom: 18px;
  font-size: 24px;
}
.bullet-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bullet-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; }
.bullet-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.split-home { gap: 32px; }
.section-head { display:flex; justify-content:space-between; gap:18px; align-items:end; flex-wrap:wrap; margin-bottom:28px; }
.sticky-block { position: sticky; top: 110px; }
.process-list { display: grid; gap: 16px; }
.process-item { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; }
.process-num {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--text);
  color: var(--bg);
  font-weight: 950;
}

.project-card { padding: 0; overflow: hidden; }
.project-card:hover .project-browser { transform: translateY(-6px) scale(1.01); }
.project-shot {
  min-height: 250px;
  position: relative;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.project-shot::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 24px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
}
.gradient-1 { background: linear-gradient(135deg, #7bd89f, #f8fff9 45%, #1d6a42); }
.gradient-2 { background: linear-gradient(135deg, #82dcff, #f8fff9 48%, #70d398); }
.gradient-3 { background: linear-gradient(135deg, #70d398, #d6f9ff 45%, #0f4930); }
.gradient-4 { background: linear-gradient(135deg, #f7d45a, #f8fff9 48%, #70d398); }
.gradient-5 { background: linear-gradient(135deg, #d6a8ff, #f8fff9 48%, #70d398); }
.project-label {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  color: #102c1d;
  padding: 12px 14px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}
.project-content { padding: 22px 24px 24px; }
.project-topline { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.project-meta span { font-size: 13px; font-weight: 850; color: var(--primary-dark); border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; background: rgba(112,211,152,.11); }

.team-card { display: flex; flex-direction: column; gap: 16px; }
.avatar {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  color: #092514;
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 15px 34px rgba(112,211,152,.28);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(112,211,152,.16);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  font-weight: 900;
  font-size: 13px;
}
.employee-month {
  border: 1px solid rgba(112,211,152,.35);
  background: linear-gradient(135deg, rgba(112,211,152,.18), var(--card));
}

.price-card { position: relative; overflow: hidden; }
.price-card.featured { border-color: rgba(112,211,152,.55); box-shadow: var(--shadow-strong); }
.price-card.featured::before {
  content: "Recomendado";
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 950;
}
.price { font-size: 34px; font-weight: 950; letter-spacing: -.05em; color: var(--primary-dark); margin: 12px 0; }

.review-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: #f0b72f; letter-spacing: 2px; font-size: 20px; }

.cta-band {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(112,211,152,.22), var(--card));
  border-radius: 36px;
  padding: clamp(28px, 6vw, 56px);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  opacity: .26;
  border-radius: 50%;
}
.cta-band > * { position: relative; z-index: 1; }

.page-hero { padding: 72px 0 36px; }
.page-hero .lead { max-width: 820px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.filter-btn { border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; border-radius: 999px; padding: 10px 13px; font-weight: 850; }
.filter-btn.active { color: #092514; background: var(--primary); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 850; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card-strong);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(112,211,152,.14); }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: var(--card); border-radius: 22px; overflow: hidden; }
.faq-q { width: 100%; border: 0; background: transparent; color: var(--text); padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; font-weight: 950; text-align: left; }
.faq-a { color: var(--muted); line-height: 1.65; padding: 0 20px 18px; display: none; }
.faq-item.open .faq-a { display: block; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  position: relative;
}
[data-theme="dark"] .site-footer { background: rgba(6,18,11,.44); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 24px; padding: 44px 0; }
.footer-title { font-weight: 950; margin-bottom: 12px; }
.footer-links { display: grid; gap: 9px; color: var(--muted); font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Admin */
.admin-shell { padding: 42px 0 90px; }
.admin-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.admin-sidebar { position: sticky; top: 96px; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 16px;
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}
.admin-nav button.active { background: var(--primary); color: #092514; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-row { border: 1px solid var(--line); background: var(--card-strong); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { padding: 14px 16px; border: 1px solid var(--line); background: rgba(112,211,152,.12); border-radius: 18px; color: var(--muted); line-height: 1.55; font-weight: 700; }
.danger { background: #ffeded !important; color: #8b1a1a !important; border-color: #ffcdcd !important; box-shadow: none !important; }
[data-theme="dark"] .danger { background: rgba(130,20,20,.34) !important; color: #ffd6d6 !important; border-color: rgba(255,150,150,.24) !important; }
.codebox { width: 100%; min-height: 260px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.login-box { max-width: 520px; margin: 40px auto; }
.hidden { display: none !important; }

.legal-content { max-width: 860px; }
.legal-content h2 { margin-top: 34px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; }


.project-browser {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.85);
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
  transition: transform .28s ease;
}
.project-browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(23,104,62,.10);
  background: rgba(255,255,255,.68);
}
.project-browser-bar {
  height: 10px;
  flex: 1;
  border-radius: 999px;
  background: rgba(23,104,62,.10);
  margin-left: 8px;
}
.project-browser-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 156px;
}
.browser-side {
  border-right: 1px solid rgba(23,104,62,.08);
  background: linear-gradient(180deg, rgba(112,211,152,.18), rgba(255,255,255,.48));
}
.browser-main {
  padding: 14px;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(248,255,251,.96));
}
.browser-main-hero {
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(112,211,152,.48), rgba(255,255,255,.95));
}
.browser-cards {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.browser-cards span {
  display:block;
  height: 54px;
  border-radius: 14px;
  background: rgba(112,211,152,.20);
  border: 1px solid rgba(23,104,62,.08);
}
.browser-footer-line {
  height: 10px;
  border-radius: 999px;
  width: 62%;
  background: rgba(23,104,62,.08);
}
.mobile-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--card-strong) 92%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}
.dock-link {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 900;
  color: var(--primary-dark);
  background: rgba(112,211,152,.12);
  border: 1px solid var(--line);
}
.dock-link.primary {
  color: #092514;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 24px rgba(112,211,152,.24);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .admin-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .stats-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-block, .admin-sidebar { position: static; }
}
@media (max-width: 760px) {
  body { padding-bottom: 88px; }
  .container { width: min(100% - 22px, var(--max)); }
  .menu-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 13px;
    right: 13px;
    background: var(--card-strong);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .header-cta { display: none; }
  .mobile-dock { display:flex; }
  .hero { padding-top: 34px; }
  .hero-grid { gap: 24px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 6px); }
  .hero-visual { min-height: 350px; }
  .card-main { width: 100%; }
  .card-side { width: 74%; bottom: 54px; }
  .card-mini { width: 70%; right: 0; bottom: 4px; }
  .grid-2, .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 1fr; }
  .title-xl {
  font-family: var(--brand-font); letter-spacing: -0.055em; }
  .title-xl {
  font-family: var(--brand-font); font-size: clamp(38px, 11vw, 56px); }
  .lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .project-browser-body { grid-template-columns: 56px 1fr; min-height: 136px; }
  .browser-cards span { height: 42px; }
  .admin-row { grid-template-columns: 1fr; }
}


.compact-solutions-strip .card { min-height: 100%; }
.compact-solutions-strip .bullet-list { display:none; }

.zefi-widget {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 80;
}
.zefi-toggle {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--card-strong) 96%, transparent);
  box-shadow: var(--shadow-strong);
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  animation: zefiBob 3.2s ease-in-out infinite;
}
.zefi-toggle:hover { transform: translateY(-3px) scale(1.02); }
.zefi-face {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display:block;
}
.zefi-label {
  font-weight: 900;
  color: var(--primary-dark);
}
.zefi-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 26px));
  border-radius: 28px;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--card-strong) 97%, transparent);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.zefi-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 16px 16px 14px;
  border-bottom:1px solid var(--line);
}
.zefi-head-left { display:flex; align-items:center; gap:12px; }
.zefi-head-left span { display:block; color: var(--muted); font-size: 13px; margin-top:2px; }
.zefi-close {
  width: 34px; height:34px; border-radius: 50%; border:1px solid var(--line); background: rgba(255,255,255,.6); cursor:pointer; font-size:22px; line-height:1;
}
.zefi-body {
  max-height: 340px;
  overflow:auto;
  padding: 16px;
  display:grid;
  gap:12px;
}
.zefi-msg.user { justify-self:end; max-width: 82%; }
.zefi-msg.bot { justify-self:start; max-width: 86%; }
.zefi-bubble {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(112,211,152,.14);
  color: var(--text);
  line-height: 1.45;
}
.zefi-msg.user .zefi-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #092514;
  font-weight: 700;
}
.zefi-quick {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding: 0 16px 12px;
}
.zefi-chip {
  border:1px solid var(--line);
  background: rgba(255,255,255,.6);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  cursor:pointer;
}
.zefi-form {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  padding: 0 16px 16px;
}
.zefi-input {
  min-height: 48px;
  border-radius: 16px;
  border:1px solid var(--line);
  padding: 0 14px;
  background: rgba(255,255,255,.78);
  color: var(--text);
}
@keyframes zefiBob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 760px) {
  .zefi-widget { right: 12px; bottom: 94px; }
  .zefi-label { display:none; }
  .zefi-toggle { padding: 8px; }
  .zefi-panel { width: min(360px, calc(100vw - 18px)); }
  .zefi-form { grid-template-columns: 1fr; }
}


/* Menú más vivo */
.nav-links a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(112,211,152,.22), rgba(205,248,220,.45));
  opacity: 0;
  transform: scale(.72);
  transition: opacity .26s ease, transform .26s ease;
  z-index: -1;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}
.nav-links a:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
  background: transparent;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
  transform: scale(1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  background: transparent;
  color: var(--primary-dark);
}
.menu-toggle,
.theme-toggle,
.header-cta {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.menu-toggle:hover,
.theme-toggle:hover,
.header-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-strong);
}


/* Ajuste inicio compacto */
.compact-solutions-strip .card { min-height: 100%; }
.compact-solutions-strip .bullet-list { display:none; }
.team-review-intro { align-items:center; }

/* Animación botones menú */
.nav-links a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
}
.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(112,211,152,.22), rgba(205,248,220,.45));
  opacity: 0;
  transform: scale(.72);
  transition: opacity .26s ease, transform .26s ease;
  z-index: -1;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}
.nav-links a:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
  background: transparent;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
  transform: scale(1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { background: transparent; color: var(--primary-dark); }
.menu-toggle, .theme-toggle, .header-cta { transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.menu-toggle:hover, .theme-toggle:hover, .header-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--shadow-strong); }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(760px, calc(100% - 32px));
  z-index: 9999;
  opacity: 0;
  transition: transform .38s cubic-bezier(.22,1,.36,1), opacity .38s ease;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-inner {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.cookie-banner-icon { font-size: 22px; line-height: 1.4; flex-shrink: 0; }
.cookie-banner-text p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.55; }
.cookie-banner-text a { color: var(--primary-dark); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) {
  .cookie-banner { bottom: 80px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}



/* Rangos visuales equipo */
.rank-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 24px rgba(16, 44, 29, .10);
}

.rank-ceo {
  color: #3c2800;
  background: linear-gradient(135deg, #ffe08a, #b8f5c2);
  border-color: rgba(255, 207, 80, .8);
}

.rank-founder {
  color: #062919;
  background: linear-gradient(135deg, #b8f5c2, #78d998);
  border-color: rgba(84, 190, 115, .7);
}

.rank-sales {
  color: #06213d;
  background: linear-gradient(135deg, #b8ddff, #d8f1ff);
  border-color: rgba(91, 156, 220, .6);
}

.rank-project {
  color: #271247;
  background: linear-gradient(135deg, #d9c8ff, #f0e9ff);
  border-color: rgba(145, 103, 220, .55);
}

.rank-ai {
  color: #063333;
  background: linear-gradient(135deg, #b8fff2, #bdf5c9);
  border-color: rgba(59, 205, 180, .6);
}

.rank-design {
  color: #461432;
  background: linear-gradient(135deg, #ffd0ea, #ead7ff);
  border-color: rgba(220, 120, 180, .55);
}

.rank-tech {
  color: #102c1d;
  background: linear-gradient(135deg, #dceee4, #f5fff8);
  border-color: rgba(84, 150, 110, .45);
}

.rank-team {
  color: #26352c;
  background: linear-gradient(135deg, #eef7f1, #ffffff);
  border-color: rgba(120, 160, 130, .35);
}



/* Rangos visuales de equipo y admin */
.rank-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 24px rgba(16, 44, 29, .10);
}

.rank-ceo {
  color: #3c2800;
  background: linear-gradient(135deg, #ffe08a, #b8f5c2);
  border-color: rgba(255, 207, 80, .8);
}

.rank-coceo {
  color: #22103d;
  background: linear-gradient(135deg, #d9c8ff, #ffe08a);
  border-color: rgba(170, 125, 255, .7);
}

.rank-founder {
  color: #062919;
  background: linear-gradient(135deg, #b8f5c2, #78d998);
  border-color: rgba(84, 190, 115, .7);
}

.rank-director {
  color: #0d243d;
  background: linear-gradient(135deg, #b8ddff, #b8f5c2);
  border-color: rgba(91, 156, 220, .65);
}

.rank-sales {
  color: #06213d;
  background: linear-gradient(135deg, #b8ddff, #d8f1ff);
  border-color: rgba(91, 156, 220, .6);
}

.rank-project {
  color: #271247;
  background: linear-gradient(135deg, #d9c8ff, #f0e9ff);
  border-color: rgba(145, 103, 220, .55);
}

.rank-ai {
  color: #063333;
  background: linear-gradient(135deg, #b8fff2, #bdf5c9);
  border-color: rgba(59, 205, 180, .6);
}

.rank-design {
  color: #461432;
  background: linear-gradient(135deg, #ffd0ea, #ead7ff);
  border-color: rgba(220, 120, 180, .55);
}

.rank-tech {
  color: #102c1d;
  background: linear-gradient(135deg, #dceee4, #f5fff8);
  border-color: rgba(84, 150, 110, .45);
}

.rank-team {
  color: #26352c;
  background: linear-gradient(135deg, #eef7f1, #ffffff);
  border-color: rgba(120, 160, 130, .35);
}

.rank-exempt-badge {
  background: linear-gradient(135deg, #fff3c7, #eaffef);
  color: #4a3300;
}

.month-counter {
  margin-top: 10px;
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 800;
}

.month-counter.muted {
  color: var(--muted);
  font-weight: 750;
}

.rank-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.rank-legend-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.45);
}

.rank-legend-item small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.admin-row-team {
  align-items: flex-start;
}

.admin-team-actions {
  align-items: flex-end;
  flex-wrap: wrap;
}

.mini-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
  color: var(--muted);
}

.mini-field select,
.mini-field input {
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: rgba(255,255,255,.72);
  color: var(--text);
  max-width: 190px;
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .rank-legend {
    grid-template-columns: 1fr;
  }

  .admin-team-actions {
    align-items: stretch;
  }

  .mini-field select,
  .mini-field input {
    max-width: none;
    width: 100%;
  }
}



/* Botón de email copiables en equipo */
.email-copy {
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
}

.email-copy:hover {
  transform: translateY(-2px);
}
