/* volumen.vibot.tech — B2B landing for agencies (Light mode — Stripe-inspired) */

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Palette — Stripe light */
  --bg:        #ffffff;
  --bg2:       #f6f9fc;        /* off-white section alt (Stripe surface) */
  --surface:   #ffffff;
  --card:      #ffffff;
  --card2:     #f6f9fc;
  --line:      #e5edf5;        /* Stripe border default */
  --text:      #061b31;        /* Stripe deep navy */
  --muted:     #64748d;        /* Stripe body/description */
  --muted2:    #94a3b8;
  --gold:      #F0C429;        /* accent — button bg, dots */
  --gold-text: #9b6829;        /* Stripe lemon — readable on white (4.6:1) */
  --navy:      #1c1e54;        /* Stripe Brand Dark */
  --ring:      rgba(240,196,41,0.45);
  --success:   #15be53;
  --success-text: #108c3d;
  --warning:   #F59E0B;

  /* Typography */
  --fontHead: "Plus Jakarta Sans", system-ui, sans-serif;
  --fontBody: "Geist", system-ui, sans-serif;

  /* Shadows — Stripe blue-tinted */
  --shadow:    rgba(50,50,93,0.25) 0px 30px 45px -30px, rgba(0,0,0,0.1) 0px 18px 36px -18px;
  --shadow-sm: rgba(23,23,23,0.08) 0px 15px 35px 0px;

  /* Easing */
  --easeOut:    cubic-bezier(0.22, 1, 0.36, 1);
  --easeSpring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;
  --sp-4: 16px; --sp-5: 24px;  --sp-6: 32px;
  --sp-7: 48px; --sp-8: 64px;  --sp-9: 96px;

  /* Border radius — Stripe uses 4-8px conservative */
  --radius:     8px;
  --radius-sm:  6px;
  --radius-xs:  4px;
  --radius-pill: 999px;
}

/* ─── Base Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fontBody);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Prevent accidental horizontal overflow on mobile */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* ─── Display Typography ─────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--fontHead);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ─── Grain Texture ──────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 9999;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}
.nav.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 56px;
  padding: 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--fontHead); }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #061b31;
  font-weight: 900;
  box-shadow: rgba(50,50,93,0.25) 0px 6px 12px -2px, rgba(0,0,0,0.1) 0px 3px 7px -3px;
}
.brand-text {
  font-family: var(--fontHead);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-by {
  font-family: var(--fontBody);
  font-weight: 400;
  font-size: 0.78em;
  color: var(--muted);
  margin-left: 2px;
}

.nav-links {
  display: none;
  gap: 16px;
  font-size: 14px;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Mobile menu (hamburger) */
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: rgba(23,23,23,0.06) 0px 10px 25px -14px;
  cursor: pointer;
}
.nav-burger:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.nav-burger-icon {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: relative;
  display: block;
}
.nav-burger-icon::before,
.nav-burger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms var(--easeOut), top 180ms var(--easeOut), opacity 180ms var(--easeOut);
}
.nav-burger-icon::before { top: -6px; }
.nav-burger-icon::after { top: 6px; }

.nav-panel {
  width: min(1200px, calc(100% - 32px));
  margin: 8px auto 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.nav-panel-links {
  display: grid;
  gap: 6px;
}
.nav-panel-links a {
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: background 150ms ease;
}
.nav-panel-links a:hover { background: var(--bg2); }
.nav-panel-cta {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.nav-panel-cta .btn { width: 100%; }

body.nav-open .nav-burger-icon { background: transparent; }
body.nav-open .nav-burger-icon::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-burger-icon::after { top: 0; transform: rotate(-45deg); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--fontBody);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms var(--easeSpring), box-shadow 160ms var(--easeOut), background 160ms, border-color 160ms;
  user-select: none;
}
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: #061b31;
  font-weight: 700;
  box-shadow: rgba(50,50,93,0.25) 0px 6px 12px -2px, rgba(0,0,0,0.08) 0px 3px 7px -3px;
}
.btn-primary:hover {
  box-shadow: rgba(50,50,93,0.35) 0px 10px 20px -4px, rgba(0,0,0,0.12) 0px 4px 10px -4px;
  filter: brightness(1.04);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg2); border-color: rgba(0,0,0,0.15); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 74px 0 30px; }
.hero-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.hero-copy h1 {
  margin: 14px 0 12px;
  font-family: var(--fontHead);
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 56ch;
}
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-bullets {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg2);
  color: var(--muted);
}
.hero-bullets .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold);
  display: inline-block;
  margin-right: 7px;
  flex-shrink: 0;
}

/* ─── Hero Visual / Dashboard Mockup ────────────────────────────────────── */
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at center, rgba(240,196,41,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 4s infinite ease-in-out;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
.hero-visual .mock {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 12px;
}
.status { color: var(--muted); font-weight: 600; font-size: 12px; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
.mock-card {
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg2);
  padding: 10px 12px 8px;
}
.mock-card .k { margin: 0; color: var(--muted); font-weight: 600; font-size: 12px; }
.mock-card .v { margin: 4px 0 2px; font-family: var(--fontHead); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--text); }
.mock-card .s { margin: 0; color: var(--muted2); font-weight: 500; font-size: 11px; }

.mock-table {
  grid-column: 1 / -1;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.7fr;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.row.head {
  border-top: none;
  background: var(--bg2);
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(21,190,83,0.12);
  color: var(--success-text);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(21,190,83,0.3);
}
.ok::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.warn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245,158,11,0.12);
  color: #92600a;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(245,158,11,0.3);
}
.warn::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warning);
  flex-shrink: 0;
}
.mini-note { margin: 10px 0 0; color: var(--muted2); font-size: 13px; }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt {
  background: var(--bg2);
  position: relative;
}
.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent);
  pointer-events: none;
}
.section-alt::before { top: 0; }
.section-alt::after  { bottom: 0; }

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.65;
  font-size: 17px;
}

/* ─── Section separator ──────────────────────────────────────────────────── */
.section-sep {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent);
  margin: 0;
}

/* ─── Cómo Funciona — Steps ──────────────────────────────────────────────── */
ol.steps { counter-reset: step-ghost; }
.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.step {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  counter-increment: step-ghost;
  transition: transform 200ms ease, box-shadow 200ms ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='black' stroke-opacity='0.025' stroke-width='1'/%3E%3C/svg%3E");
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step::after {
  content: counter(step-ghost);
  position: absolute;
  top: -24px; right: 8px;
  font-family: var(--fontHead);
  font-size: 140px;
  font-weight: 800;
  color: #061b31;
  opacity: 0.03;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.step .n {
  margin: 0 0 12px;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--gold);
  color: #061b31;
  font-family: var(--fontHead);
  font-weight: 900;
  font-size: 15px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }

/* ─── Tiers ──────────────────────────────────────────────────────────────── */
.tiers {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.tier {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 18px 18px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tier h3 { margin: 0 0 10px; font-size: 19px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; font-size: 15px; flex: 1; }
.tier strong { color: var(--text); }
.tier-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-text);
  position: relative;
  align-self: flex-start;
}
.tier-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.tier-link:hover::after { transform: scaleX(1); }

.tier-hot {
  border-top: 2px solid var(--gold);
  box-shadow: 0 0 28px rgba(240,196,41,0.12), rgba(50,50,93,0.15) 0px 18px 36px -18px;
}
.tier-hot:hover {
  box-shadow: 0 0 32px rgba(240,196,41,0.18), var(--shadow);
}
.badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #061b31;
  font-weight: 700;
  font-size: 11px;
}

/* Tiers "Sin precios" code note */
.code-note {
  display: inline-block;
  margin-top: 6px;
  font-family: 'Geist Mono', 'ui-monospace', monospace;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
}

.tiers-note {
  margin: 10px 0 0;
  color: rgba(100,116,141,0.8);
  font-size: 6px;
  font-style: italic;
  line-height: 1.5;
}

.tier-detail {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg2);
}
.tier-detail-copy h3 { margin: 0; font-size: 18px; }
.tier-detail-copy p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}
.tier-detail .row {
  height: 40px;
  align-items: center;
  border-top: none;
  border-bottom: 1px solid var(--line);
}
.tier-detail .row:nth-child(even) { background: var(--bg2); }

/* Shot — tier visual card */
.shot {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.muted { color: var(--muted); font-weight: 600; font-size: 12px; }
.shot-body { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; min-height: 110px; }
.shot-kpi {
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg2);
  padding: 10px;
}
.shot-kpi span { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.shot-kpi strong { display: block; margin-top: 6px; font-family: var(--fontHead); font-weight: 800; letter-spacing: -0.03em; font-size: 20px; color: var(--text); }
.shot-line {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  grid-column: 1 / -1;
}
.shot-pulse {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,196,41,0.35); }
  70%  { box-shadow: 0 0 0 18px rgba(240,196,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,196,41,0); }
}
.shot-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.shot-grid div {
  height: 52px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 10px;
  gap: 2px;
  overflow: hidden;
}
.shot-grid div span {
  color: var(--muted);
  font-weight: 650;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-grid div strong {
  color: var(--text);
  font-family: var(--fontHead);
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: 15px;
}

/* ─── Volume Pitch Cards ─────────────────────────────────────────────────── */
.pitch {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pitch-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-sm);
}
.pitch-card h3 {
  margin: 0 0 8px;
  font-family: var(--fontHead);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pitch-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.pitch-card:nth-child(2) p { font-style: italic; }

/* ─── Dashboard Preview ──────────────────────────────────────────────────── */
.dash {
  --dash-frame-h: 580px;
  --dash-chrome-h: 62px; /* toggle de modo + separación */
  --dash-stack-h: calc(var(--dash-frame-h) + var(--dash-chrome-h));
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.dash-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  container-type: inline-size;
  container-name: dash;
}
.dash-preview-lead {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 550;
}
.dash-interactive-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240,196,41,0.2);
  border: 1px solid rgba(240,196,41,0.45);
  color: var(--gold-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: dashPulse 2.2s ease-in-out infinite;
}
@keyframes dashPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,196,41,0); }
  50% { box-shadow: 0 0 0 4px rgba(240,196,41,0.2); }
}
.dash-shot:not(.has-interacted) {
  outline: 2px solid rgba(240,196,41,0.35);
  outline-offset: 2px;
}
.dash-side-cta {
  margin: 0;
  padding: 6px 12px 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.dash-shot:not(.has-interacted) .dash-side-cta {
  animation: dashPulse 2.2s ease-in-out infinite;
}
.dash-shot.has-interacted .dash-side-cta {
  opacity: 0.65;
}
.dash-content-hint {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(100,116,141,0.45);
  background: var(--bg2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.dash-shot.has-interacted .dash-content-hint {
  border-style: solid;
  border-color: rgba(21,190,83,0.35);
  background: rgba(21,190,83,0.08);
  color: var(--success-text);
}
.dash-shot:not(.has-interacted) .side-item:not(.active) {
  box-shadow: inset 0 0 0 1px rgba(240,196,41,0.12);
}
.dash-shot:not(.has-interacted) .dash-mode-btn:not(.is-active) {
  box-shadow: inset 0 0 0 1px rgba(240,196,41,0.15);
}
.dash-mode-btn,
.side-item,
.dash-cal-tab,
button.cal-day,
.dash-res-item,
.dash-int-connect,
.dash-swatch-wrap,
.dash-upload-btn,
.dash-actions .mini {
  cursor: pointer;
}
.dash-mode-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg2);
  align-self: flex-start;
}
.dash-side-nav[hidden] {
  display: none !important;
}
.dash-mode-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--fontBody);
  font-weight: 650;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.dash-mode-btn:hover { color: var(--text); background: var(--surface); }
.dash-mode-btn.is-active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.dash-mode-btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.dash-shot {
  display: flex;
  flex-direction: column;
  height: var(--dash-frame-h);
  min-height: var(--dash-frame-h);
  max-height: var(--dash-frame-h);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.dash-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dash-top-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dash-agency-name {
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-agency-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.dash-logo {
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px dashed rgba(100,116,141,0.45);
  background: linear-gradient(145deg, var(--bg2) 0%, #fff 100%);
  flex-shrink: 0;
}
.dash-logo-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.dash-logo-lg {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  margin: 0 auto;
}
.dash-logo-mark {
  font-family: var(--fontHead);
  font-weight: 900;
  font-size: 1.35em;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.dash-logo-lg .dash-logo-mark { font-size: 2rem; }
.dash-actions { display: flex; gap: 8px; flex-shrink: 0; }
.mini {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #061b31;
  font-weight: 700;
  font-size: 12px;
}
.mini-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.dash-main {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.dash-side,
.dash-content {
  min-width: 0;
}
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.dash-brand-panel {
  padding: 16px 14px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.dash-brand-label {
  margin: 10px 0 4px;
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.dash-brand-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 18ch;
  margin-inline: auto;
}
.dash-side-nav {
  display: flex;
  gap: 6px;
  padding: 10px 12px 12px;
  overflow-x: auto;
  position: relative;
  z-index: 2;
}
.dash-content {
  min-width: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.dash-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.dash-content-head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-content-title {
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-content-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.dash-results {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  justify-content: flex-start;
}
.dash-panel[data-dash-panel="agentes"] .dash-metric--calendar {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dash-panel[data-dash-panel="agentes"] .dash-calendar-grid {
  flex: 1;
  align-content: start;
}
.dash-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dash-metric {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 10px 10px;
  box-shadow: rgba(23,23,23,0.04) 0px 8px 20px -12px;
}
.dash-metric-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.dash-metric-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.dash-metric--msgs { border-color: rgba(21,190,83,0.35); }
.dash-metric--msgs .dash-metric-icon { background: rgba(21,190,83,0.12); color: var(--success-text); }
.dash-metric--book { border-color: rgba(240,196,41,0.45); }
.dash-metric--book .dash-metric-icon { background: rgba(240,196,41,0.18); color: var(--gold-text); }
.dash-metric--bill { border-color: rgba(59,130,246,0.35); }
.dash-metric--bill .dash-metric-icon { background: rgba(59,130,246,0.1); color: #2563eb; }
.dash-metric-value {
  margin: 0;
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.dash-metric-label {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--muted);
}
.dash-metric--calendar {
  width: 100%;
  padding: 12px 14px 14px;
  border-color: rgba(139,92,246,0.35);
}
.dash-metric--calendar .dash-metric-icon {
  background: rgba(139,92,246,0.12);
  color: #7c3aed;
  margin-bottom: 0;
}
.dash-metric-calendar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dash-metric-calendar-head .dash-metric-label {
  margin: 0;
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}
.dash-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  align-content: start;
}
.cal-day {
  aspect-ratio: 1;
  min-height: 0;
  max-height: 36px;
  width: 100%;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg2);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.cal-day.cal-muted {
  border-color: transparent;
  background: transparent;
  color: var(--muted2);
  font-weight: 650;
  font-size: 10px;
}
.cal-day.cal-hot {
  border-color: rgba(240,196,41,0.5);
  background: rgba(240,196,41,0.2);
  color: #061b31;
}
.cal-day.cal-busy,
.cal-day.cal-booked {
  border-color: rgba(21,190,83,0.35);
  background: rgba(21,190,83,0.1);
  color: var(--success-text);
}
.cal-day.cal-out {
  border-color: transparent;
  background: transparent;
  color: var(--muted2);
  font-weight: 600;
}
.cal-day.cal-out:hover { background: var(--bg2); }
.cal-day.cal-has-new {
  border-color: rgba(240,196,41,0.5);
  background: rgba(240,196,41,0.14);
}
.cal-day.cal-head {
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  padding: 2px 0 6px;
  font-size: 10px;
  border: none;
  background: transparent;
  cursor: default;
}
.cal-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}
.cal-dot--new { background: var(--gold); }
button.cal-day {
  position: relative;
  padding-bottom: 8px;
}
.dash-cal-mini .dash-calendar-grid--mini .cal-day {
  max-height: 28px;
  font-size: 10px;
}
.dash-cal-mini .dash-calendar-grid--mini .cal-head {
  font-size: 9px;
}
.dash-cal-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(139,92,246,0.35);
  background: var(--surface);
  padding: 12px 14px 14px;
}
.dash-cal-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--line);
}
.dash-cal-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--fontBody);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.dash-cal-tab:hover { color: var(--text); background: var(--surface); }
.dash-cal-tab.is-active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.dash-cal-tab-badge {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #061b31;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}
.dash-cal-pane { display: none; flex-direction: column; gap: 10px; }
.dash-cal-pane.is-active { display: flex; }
.dash-cal-month-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.dash-cal-month-title {
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-cal-month-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.dash-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.dash-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dash-cal-dot--booked { background: var(--success); }
.dash-cal-dot--new { background: var(--gold); }
.dash-res-head { margin: 0 0 4px; }
.dash-res-title {
  margin: 0 0 4px;
  font-family: var(--fontHead);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.dash-res-sub {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}
.dash-res-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}
.dash-res-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dash-res-item:hover {
  border-color: rgba(139,92,246,0.35);
  background: var(--surface);
}
.dash-res-item.is-selected {
  border-color: rgba(240,196,41,0.55);
  background: rgba(240,196,41,0.08);
}
.dash-res-item--new { border-left: 3px solid var(--gold); }
.dash-res-when {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 52px;
}
.dash-res-date {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  text-transform: capitalize;
}
.dash-res-time {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
}
.dash-res-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dash-res-who strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.dash-res-who span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-res-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(240,196,41,0.2);
  color: var(--gold-text);
  border: 1px solid rgba(240,196,41,0.4);
  white-space: nowrap;
}
.dash-res-badge--ok {
  background: rgba(21,190,83,0.12);
  color: var(--success-text);
  border-color: rgba(21,190,83,0.3);
}
.side-item {
  position: relative;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--fontBody);
  border: 1px solid transparent;
  background: transparent;
  transition: background 150ms ease, color 150ms ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.side-item:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.side-item:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.dash-panels {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
}
.dash-panel {
  grid-area: 1 / 1;
  display: none;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}
.dash-panel.is-active {
  display: flex !important;
  flex-direction: column;
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
  animation: dashPanelIn 0.28s var(--easeOut) both;
}
.dash-panel[hidden] {
  display: none !important;
}
@keyframes dashPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dash-panel[data-dash-panel="clientes"],
.dash-panel[data-dash-panel="agentes-ops"],
.dash-panel[data-dash-panel="marca"],
.dash-panel[data-dash-panel="integraciones"],
.dash-panel[data-dash-panel="resultados"],
.dash-panel[data-dash-panel="calendario"] {
  padding: 12px 14px 14px;
  justify-content: flex-start;
  box-sizing: border-box;
}
.dash-panel.is-active > .dash-panel-body {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.dash-panel-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.dash-panel.is-active .dash-mini-stats {
  flex-shrink: 0;
}
.dash-panel-body .dash-table-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
  overflow-y: hidden;
}
.dash-panel-body .dash-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dash-panel-body .dash-table::after {
  content: '';
  flex: 1 1 auto;
  min-height: 12px;
}
.dash-panel-body.dash-results {
  gap: 10px;
}
.dash-panel-body.dash-results .dash-metrics-row {
  flex-shrink: 0;
}
.dash-results-detail {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.dash-breakdown-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: rgba(23,23,23,0.04) 0px 8px 20px -12px;
  min-height: 0;
}
.dash-breakdown-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.dash-breakdown-title {
  margin: 0;
  font-family: var(--fontHead);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-breakdown-sub {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 550;
}
.dash-channel-list,
.dash-res-type-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-channel-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: center;
}
.dash-channel-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.dash-channel-icon svg { display: block; }
.dash-channel-icon--text { background: rgba(21,190,83,0.1); color: var(--success-text); border-color: rgba(21,190,83,0.3); }
.dash-channel-icon--audio { background: rgba(59,130,246,0.1); color: #2563eb; border-color: rgba(59,130,246,0.3); }
.dash-channel-icon--photo { background: rgba(139,92,246,0.1); color: #7c3aed; border-color: rgba(139,92,246,0.3); }
.dash-channel-icon--voice { background: rgba(240,196,41,0.14); color: var(--gold-text); border-color: rgba(240,196,41,0.35); }
.dash-channel-name {
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
}
.dash-channel-val {
  font-family: var(--fontHead);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  text-align: right;
}
.dash-channel-bar {
  grid-column: 2 / span 2;
  height: 5px;
  border-radius: 999px;
  background: var(--bg2);
  overflow: hidden;
}
.dash-channel-bar > span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(21,190,83,0.55), rgba(21,190,83,0.85));
}
.dash-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dash-ops-stat {
  padding: 8px 8px 7px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
  text-align: center;
}
.dash-ops-stat--new {
  border-color: rgba(240,196,41,0.45);
  background: rgba(240,196,41,0.1);
}
.dash-ops-val {
  display: block;
  font-family: var(--fontHead);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.dash-ops-stat--new .dash-ops-val { color: var(--gold-text); }
.dash-ops-lbl {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--muted);
}
.dash-breakdown-label {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-res-type-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--bg2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.dash-res-type-list strong {
  font-family: var(--fontHead);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.dash-breakdown-foot {
  margin: auto 0 0;
  padding-top: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.dash-breakdown-foot strong { color: var(--gold-text); font-weight: 700; }
@container dash (max-width: 560px) {
  .dash-results-detail { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .dash-results-detail { grid-template-columns: 1fr; }
  .dash-ops-grid { grid-template-columns: 1fr; }
}
.dash-panel-body.dash-integrations {
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  gap: 8px;
}
.dash-panel-body.dash-integrations .dash-int {
  flex-shrink: 0;
}
.dash-panel-body--calendar {
  padding: 0;
  justify-content: flex-start;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.dash-panel-body--calendar .dash-cal-shell {
  flex: 1;
  min-height: 0;
  border: none;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.dash-panel-body--calendar .dash-cal-pane.is-active[data-cal-pane="month"] {
  flex: 1;
  min-height: 0;
}
.dash-panel-body--calendar .dash-cal-month-bar,
.dash-panel-body--calendar .dash-cal-legend {
  flex-shrink: 0;
}
.dash-panel-body--calendar .dash-cal-grid-host {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dash-panel-body--calendar .dash-cal-grid-host .dash-calendar-grid {
  flex: 1;
  min-height: 0;
  height: 100%;
  grid-template-rows: auto repeat(5, minmax(0, 1fr));
}
.dash-panel-body--calendar .dash-cal-grid-host .cal-day:not(.cal-head) {
  max-height: none;
  aspect-ratio: unset;
  height: 100%;
  min-height: 28px;
}
.dash-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.dash-mini-stat {
  padding: 10px 10px 9px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
}
.dash-mini-stat-val {
  display: block;
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.dash-mini-stat-lbl {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}
.dash-mini-stats--ops .dash-mini-stat-val { color: var(--gold-text); }
.dash-cell-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 650;
}
.dash-avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  background: rgba(240,196,41,0.22);
  border: 1px solid rgba(240,196,41,0.35);
}
.dash-avatar--agent {
  font-size: 9px;
  letter-spacing: -0.02em;
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.28);
  color: #2563eb;
}
.dash-plan {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.dash-plan--hybrid {
  border-color: rgba(240,196,41,0.45);
  background: rgba(240,196,41,0.12);
  color: var(--gold-text);
}
.dash-plan--chat {
  border-color: rgba(21,190,83,0.35);
  background: rgba(21,190,83,0.1);
  color: var(--success-text);
}
.dash-wl {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
}
.dash-wl--done { color: var(--success-text); }
.dash-wl--pending { color: #92600a; }
.dash-muted-cell {
  font-size: 11px;
  color: var(--muted);
  font-weight: 550;
}
.dash-status-idle {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(100,116,141,0.12);
  border: 1px solid rgba(100,116,141,0.25);
}
.dash-table-wrap {
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.dash-table-wrap .dash-table { overflow-x: auto; }
.dash-table-wrap .dash-table--clients .row {
  grid-template-columns: 1.2fr 0.7fr 0.8fr 0.85fr 0.72fr;
  min-width: 0;
}
.dash-table-wrap .dash-table--agents .row {
  grid-template-columns: 1.15fr 1.05fr 0.72fr 0.62fr 0.78fr;
  min-width: 0;
}
.dash-cal-grid-host .dash-calendar-grid .cal-day {
  max-height: 34px;
}
.dash-brand-settings {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  height: 100%;
}
.dash-brand-col--edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.dash-brand-upload { margin: 0; }
.dash-upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 14px 16px;
  border-radius: 12px;
  border: 2px dashed rgba(100,116,141,0.35);
  background: linear-gradient(180deg, var(--bg2) 0%, var(--surface) 100%);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dash-upload-drop:hover {
  border-color: rgba(240,196,41,0.55);
  background: linear-gradient(180deg, rgba(240,196,41,0.06) 0%, var(--surface) 100%);
}
.dash-upload-drop.is-uploaded {
  border-color: rgba(21,190,83,0.45);
  border-style: solid;
  background: rgba(21,190,83,0.06);
}
.dash-logo-xl {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  margin: 0;
  box-shadow: rgba(50,50,93,0.12) 0px 8px 20px -8px;
}
.dash-logo-xl .dash-logo-mark { font-size: 2.2rem; }
.dash-upload-title {
  margin: 4px 0 0;
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-upload-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  max-width: 26ch;
}
.dash-upload-btn {
  margin-top: 4px;
  font-size: 13px;
  padding: 9px 16px;
}
.dash-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-field-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--fontBody);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dash-field-input:focus {
  outline: none;
  border-color: rgba(240,196,41,0.65);
  box-shadow: 0 0 0 3px var(--ring);
}
.dash-brand-colors-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.dash-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: var(--fontBody);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dash-swatch-wrap:hover { background: var(--bg2); }
.dash-swatch-wrap.is-active {
  border-color: var(--line);
  background: var(--bg2);
}
.dash-swatch-wrap .dash-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  display: block;
  pointer-events: none;
}
.dash-swatch-wrap.is-active .dash-swatch {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text);
}
.dash-swatch-name {
  font-size: 10px;
  font-weight: 650;
  color: var(--muted);
}
.dash-swatch-wrap.is-active .dash-swatch-name { color: var(--text); font-weight: 700; }
.dash-brand-col--preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.dash-preview-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-brand-preview {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dash-preview-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.dash-preview-names {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dash-preview-name {
  font-family: var(--fontHead);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-preview-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.dash-preview-body {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dash-preview-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--dash-accent, #F0C429);
  color: #061b31;
  font-size: 11px;
  font-weight: 700;
}
.dash-preview-btn {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 11px;
  font-weight: 650;
  color: var(--text);
}
.dash-preview-foot {
  margin: auto 0 0;
  padding: 10px 14px 12px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted2);
  border-top: 1px solid var(--line);
  background: var(--bg2);
}
.dash-integrations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
}
.dash-int-name { font-weight: 650; font-size: 14px; color: var(--text); }
.dash-int-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
.dash-int-status.ok {
  background: rgba(21,190,83,0.12);
  color: var(--success-text);
  border: 1px solid rgba(21,190,83,0.3);
}
.dash-int-connect {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: var(--fontBody);
}
.dash-int-connect:hover { background: var(--gold); border-color: transparent; color: #061b31; }
.dash-int.is-on .dash-int-connect { display: none; }
button.cal-day {
  cursor: pointer;
  font-family: var(--fontBody);
  padding: 0;
  transition: transform 0.12s var(--easeSpring), box-shadow 0.12s ease;
}
button.cal-day:hover { transform: scale(1.06); }
button.cal-day:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
button.cal-day[aria-pressed="true"] {
  border-color: rgba(240,196,41,0.6);
  background: rgba(240,196,41,0.25);
}
.dash-shot .mini { cursor: pointer; }
.dash-shot .mini:hover { filter: brightness(1.03); }
.dash-shot .mini:active { transform: scale(0.98); }
.dash-shot .mini.mini-flash {
  animation: miniFlash 0.4s ease;
}
@keyframes miniFlash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}
.side-item.active {
  border: 1px solid transparent;
  border-left: 3px solid var(--gold);
  background: rgba(240,196,41,0.06);
  color: var(--text);
  border-radius: 0 6px 6px 0;
  padding-left: 9px;
}
.dash-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.dash-table .row {
  display: grid;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 12px;
  min-height: 40px;
  height: auto;
  border-top: none;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.dash-table .row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-table .row > span.ok,
.dash-table .row > span.warn,
.dash-table .row > span.dash-status-idle,
.dash-table .row > span.dash-plan,
.dash-table .row > .dash-cell-name {
  overflow: visible;
  white-space: nowrap;
}
.dash-table .row > span.ok,
.dash-table .row > span.warn,
.dash-table .row > span.dash-status-idle {
  justify-self: start;
}
.dash-table .row.head {
  min-height: 34px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.dash-table-wrap .dash-table--agents {
  min-width: 0;
  width: 100%;
}
/* Agentes: sin scroll horizontal hacia el sidebar */
.dash-panel[data-dash-panel="agentes-ops"] .dash-panel-body,
.dash-panel[data-dash-panel="agentes-ops"] .dash-panel-body .dash-table-wrap,
.dash-panel[data-dash-panel="agentes-ops"] .dash-table-wrap .dash-table,
.dash-panel[data-dash-panel="agentes-ops"] .dash-table {
  overflow-x: hidden;
}
.dash-panel[data-dash-panel="agentes-ops"] .dash-table--agents .row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 0.55fr) minmax(0, 0.72fr);
  gap: 6px 8px;
}
.dash-panel[data-dash-panel="agentes-ops"] .dash-table .row > span.ok,
.dash-panel[data-dash-panel="agentes-ops"] .dash-table .row > span.warn,
.dash-panel[data-dash-panel="agentes-ops"] .dash-table .row > span.dash-status-idle,
.dash-panel[data-dash-panel="agentes-ops"] .dash-table .row > .dash-cell-name {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@container dash (max-width: 499px) {
  .dash-table-wrap .dash-table--agents .row {
    font-size: 11px;
    padding: 8px 10px;
    gap: 6px 8px;
  }
}
.dash-access {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.dash-access::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #f8e08a 50%, var(--gold) 100%);
}
.dash-access-inner {
  padding: 22px 20px 20px;
}
.dash-access-intro {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 18px;
}
.dash-access-intro h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.03em;
}
.dash-access-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 550;
}
.dash-access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.dash-access-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg2) 0%, var(--surface) 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dash-access-card:hover {
  border-color: rgba(240,196,41,0.45);
  box-shadow: rgba(23,23,23,0.06) 0px 10px 24px -14px;
}
.dash-access-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.dash-access-icon svg {
  display: block;
}
.dash-access-icon--agency {
  background: rgba(240,196,41,0.14);
  border-color: rgba(240,196,41,0.35);
  color: var(--gold-text);
}
.dash-access-icon--client {
  background: rgba(21,190,83,0.1);
  border-color: rgba(21,190,83,0.3);
  color: var(--success-text);
}
.dash-access-icon--brand {
  background: rgba(28,30,84,0.06);
  border-color: rgba(28,30,84,0.14);
  color: var(--navy);
}
.dash-access-card-copy {
  min-width: 0;
}
.dash-access-card-copy h4 {
  margin: 0 0 4px;
  font-family: var(--fontHead);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}
.dash-access-card-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 550;
}
.dash-access-foot {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.dash-access-foot .btn-primary {
  min-width: 220px;
  padding: 12px 28px;
  font-size: 15px;
}

/* ─── Stats / Social Proof ───────────────────────────────────────────────── */
.proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.proof-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-sm);
}
.proof-card .big {
  margin: 0;
  font-family: var(--fontHead);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--gold-text);
}
.proof-card .label {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.logos {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.logo {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.logo:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: rgba(23,23,23,0.06) 0px 4px 12px;
}

/* ─── Camp Nou / JOBarcelona feature ─────────────────────────────────────── */
.camp-nou {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.camp-nou-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(28, 30, 84, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 100%, rgba(240, 196, 41, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 38%, var(--bg) 100%);
}
.camp-nou-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}
.camp-nou-header {
  max-width: 40rem;
}
.camp-nou-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(28, 30, 84, 0.12);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  box-shadow: var(--shadow-sm);
}
.camp-nou-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 196, 41, 0.35);
}
.camp-nou-header h2 {
  margin: 0 0 14px;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.camp-nou-lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
}
.camp-nou-highlights {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.camp-nou-highlights li {
  padding: 12px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.camp-nou-highlight-val {
  display: block;
  font-family: var(--fontHead);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.camp-nou-highlight-lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.camp-nou-hero {
  margin: 0;
}
.camp-nou-hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(28, 30, 84, 0.15);
  background: var(--navy);
  box-shadow:
    rgba(50, 50, 93, 0.2) 0px 24px 48px -24px,
    rgba(0, 0, 0, 0.12) 0px 12px 24px -16px;
}
.camp-nou-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 32%;
}
.camp-nou-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(6, 27, 49, 0.25) 55%,
    rgba(6, 27, 49, 0.88) 100%
  );
}
.camp-nou-hero-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 20px 18px 18px;
  font-family: var(--fontHead);
  font-size: clamp(1rem, 3.5vw, 1.375rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
.camp-nou-hero-quote-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--fontBody);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.camp-nou-hero-cap {
  margin: 12px 4px 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.camp-nou-gallery-wrap {
  min-width: 0;
}
.camp-nou-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.camp-nou-gallery-title {
  margin: 0;
  font-family: var(--fontHead);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.camp-nou-gallery-hint {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted2);
}
.camp-nou-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 4px 2px 12px;
  margin: 0 -2px;
  scrollbar-width: none;
}
.camp-nou-gallery::-webkit-scrollbar {
  display: none;
}
.camp-nou-card {
  flex: 0 0 min(82vw, 320px);
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.camp-nou-card-media {
  overflow: hidden;
  background: var(--bg2);
}
.camp-nou-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.camp-nou-card--team .camp-nou-card-media img {
  object-position: center 25%;
}
.camp-nou-card figcaption {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 14px 14px 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.camp-nou-card-tag {
  font-family: var(--fontHead);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-text);
}
.camp-nou-outro {
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(240, 196, 41, 0.35);
  background: linear-gradient(135deg, rgba(240, 196, 41, 0.12) 0%, rgba(240, 196, 41, 0.04) 100%);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 550;
  text-align: center;
}

@media (min-width: 720px) {
  .camp-nou-gallery-hint {
    display: none;
  }
  .camp-nou-highlights li {
    text-align: left;
    padding: 14px 16px;
  }
  .camp-nou-hero-media img {
    aspect-ratio: 21 / 9;
  }
  .camp-nou-hero-cap {
    text-align: left;
    max-width: 48ch;
  }
  .camp-nou-gallery {
    display: grid;
    grid-template-columns: 1.05fr 1fr 0.95fr;
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
  .camp-nou-card {
    flex: none;
    scroll-snap-align: unset;
    transition: transform 220ms var(--easeOut), box-shadow 220ms var(--easeOut);
  }
  .camp-nou-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .camp-nou-card--team {
    grid-row: span 1;
  }
  .camp-nou-card-media img {
    aspect-ratio: 5 / 4;
  }
  .camp-nou-outro {
    text-align: left;
    max-width: 52ch;
  }
}

@media (min-width: 1024px) {
  .camp-nou-inner {
    gap: 44px;
  }
  .camp-nou-header {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px 40px;
    align-items: end;
    max-width: none;
  }
  .camp-nou-eyebrow,
  .camp-nou-header h2,
  .camp-nou-lead {
    grid-column: 1;
  }
  .camp-nou-highlights {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .camp-nou-highlights li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }
  .camp-nou-highlight-val {
    font-size: 0.875rem;
  }
  .camp-nou-gallery {
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 18px;
  }
}

@media (max-width: 639px) {
  .camp-nou {
    padding: 44px 0 48px;
  }
  .camp-nou-inner {
    gap: 24px;
  }
  .camp-nou-header h2 {
    font-size: 1.625rem;
  }
  .camp-nou-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .camp-nou-highlights li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 12px 14px;
  }
  .camp-nou-highlight-lbl {
    margin-top: 0;
    text-align: right;
  }
  .camp-nou-hero-media {
    border-radius: 12px;
  }
  .camp-nou-hero-media img {
    aspect-ratio: 4 / 3;
  }
  .camp-nou-hero-quote {
    padding: 16px 14px 14px;
    font-size: 0.9375rem;
  }
  .camp-nou-gallery-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .camp-nou-gallery-head {
    padding: 0 20px;
  }
  .camp-nou-gallery {
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-inline: 20px;
  }
  .camp-nou-card {
    flex: 0 0 min(78vw, 300px);
  }
  .camp-nou-outro {
    margin: 0 2px;
    padding: 16px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 380px) {
  .camp-nou-card {
    flex: 0 0 86vw;
  }
}

/* ─── Direct-to-business CTA section ─────────────────────────────────────── */
.biz-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Final CTA ──────────────────────────────────────────────────────────── */
.section-cta {
  padding: 82px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,196,41,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.cta {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cta h2 {
  font-family: var(--fontHead);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.cta p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; font-size: 16px; }
.cta .btn-ghost {
  border-color: rgba(0,0,0,0.18);
  color: var(--text);
}
.cta .btn-ghost:hover {
  border-color: rgba(0,0,0,0.35);
  background: var(--bg2);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.foot-brand {
  margin: 0;
  font-family: var(--fontHead);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 15px;
}
.foot-brand span { color: var(--muted); font-weight: 600; }
.foot-note { margin: 6px 0 0; color: rgba(100,116,141,0.7); line-height: 1.6; font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot-links a { color: rgba(100,116,141,0.8); font-weight: 600; font-size: 13px; transition: color 150ms; }
.foot-links a:hover { color: var(--text); }
.foot-meta {
  color: rgba(100,116,141,0.6);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
}
.foot-meta p { margin: 0; }
.foot-meta a { color: rgba(100,116,141,0.8); font-weight: 650; }
.foot-meta a:hover { color: var(--text); }

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Page-load staggered fade-up ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow,
.hero .hero-copy h1,
.hero .hero-sub,
.hero .hero-actions,
.hero .hero-bullets,
.hero .hero-visual {
  animation: fadeUp 0.6s var(--easeOut) both;
}
.hero .eyebrow      { animation-delay: 0s;   }
.hero .hero-copy h1 { animation-delay: 0.1s; }
.hero .hero-sub     { animation-delay: 0.2s; }
.hero .hero-actions { animation-delay: 0.3s; }
.hero .hero-bullets { animation-delay: 0.4s; }
.hero .hero-visual  { animation-delay: 0.5s; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-panel { display: none; }
  .hero { padding: 96px 0 64px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier-detail { grid-template-columns: 1.08fr .92fr; align-items: center; }
  .pitch { grid-template-columns: repeat(3, 1fr); }
  .pitch .pitch-card:nth-child(2) { padding-top: calc(20px + 24px); }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 28px 24px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr auto; align-items: center; }
  .foot-meta { align-items: flex-end; text-align: right; }
  /* Hero mockup: 4-column metrics on desktop */
  .mock-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Acceso al dashboard: franja completa debajo del mock */
@media (min-width: 860px) {
  .dash {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  .dash-preview {
    --dash-frame-h: 580px;
    width: 100%;
  }
  .dash-access-inner {
    padding: 26px 28px 24px;
  }
  .dash-access-intro {
    margin-bottom: 22px;
  }
  .dash-access-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  .dash-access-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px 15px;
    min-height: 100%;
  }
  .dash-access-foot {
    margin-top: 22px;
  }
}
@media (min-width: 640px) and (max-width: 859px) {
  .dash-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-access-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Dashboard interno: layout según ancho REAL del mock (no solo viewport) */
@container dash (min-width: 500px) {
  .dash-main { grid-template-columns: minmax(132px, 168px) minmax(0, 1fr); }
  .dash-side {
    border-bottom: none;
    border-right: 1px solid var(--line);
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }
  .dash-brand-panel {
    display: block;
    text-align: center;
    padding: 14px 10px 12px;
  }
  .dash-logo-lg {
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }
  .dash-side-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 8px 8px 12px;
    gap: 4px;
  }
  .dash-side-nav .side-item {
    width: 100%;
    text-align: left;
    white-space: nowrap;
    font-size: 13px;
    border: 1px solid transparent;
    background: transparent;
  }
  .dash-side-nav .side-item.active {
    border: 1px solid transparent;
    border-left: 3px solid var(--gold);
    border-bottom: none;
    border-radius: 0 6px 6px 0;
    padding-left: 9px;
    background: rgba(240,196,41,0.06);
  }
  .dash-brand-hint { max-width: none; margin-inline: auto; }
  .dash-metrics-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@container dash (min-width: 560px) {
  .dash-main { grid-template-columns: minmax(148px, 200px) minmax(0, 1fr); }
  .dash-logo-lg { width: 72px; height: 72px; }
}

@container dash (min-width: 520px) {
  .dash-panel[data-dash-panel="marca"] .dash-brand-settings {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
}

/* Dashboard estrecho (container) — refuerza móvil cuando el mock es angosto */
@container dash (max-width: 499px) {
  .dash-shot {
    height: 70dvh;
    min-height: 70dvh;
    max-height: 70dvh;
  }
  .dash-main {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .dash-metrics-row { grid-template-columns: 1fr; }
  .dash-results-detail { grid-template-columns: 1fr; }
  .dash-panel[data-dash-panel="marca"] .dash-brand-settings,
  .dash-panel[data-dash-panel="marca"] .dash-swatches {
    grid-template-columns: 1fr;
  }
}

/* Fallback viewport si el navegador no soporta container queries */
@supports not (container-type: inline-size) {
  @media (min-width: 640px) {
    .dash-main { grid-template-columns: minmax(148px, 200px) minmax(0, 1fr); }
    .dash-side { border-bottom: none; border-right: 1px solid var(--line); }
    .dash-side-nav { flex-direction: column; display: flex; }
    .dash-metrics-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
}

/* Dashboard: móvil (viewport) — altura fija del mock (no cambia al cambiar de panel) */
@media (max-width: 639px) {
  .dash {
    --dash-frame-h: 70dvh;
    --dash-chrome-h: auto;
    margin-top: 20px;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .dash-preview {
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }
  .dash-preview-lead {
    font-size: 13px;
    line-height: 1.45;
  }
  .dash-mode-toggle {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    display: flex;
    box-sizing: border-box;
  }
  .dash-mode-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
  }
  .dash-shot {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    max-width: 100%;
    height: var(--dash-frame-h);
    min-height: var(--dash-frame-h);
    max-height: var(--dash-frame-h);
    border-radius: 10px;
    overflow: hidden;
  }
  .dash-shot:not(.has-interacted) {
    outline-offset: 0;
  }
  .dash-top {
    flex-wrap: nowrap;
    padding: 10px 12px;
    gap: 8px;
    min-width: 0;
  }
  .dash-agency-name { font-size: 13px; }
  .dash-actions .mini-ghost { display: none; }
  .dash-main {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .dash-brand-panel,
  .dash-side-cta {
    display: none;
  }
  .dash-side {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid var(--line);
    border-right: none;
    overflow: hidden;
  }
  .dash-side-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 12px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dash-side-nav::-webkit-scrollbar {
    display: none;
  }
  .dash-side-nav .side-item {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 650;
    text-align: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    white-space: nowrap;
  }
  .dash-side-nav .side-item.active {
    border: 1px solid rgba(240,196,41,0.55);
    background: rgba(240,196,41,0.12);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
  }
  .dash-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .dash-content-head {
    flex-shrink: 0;
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }
  .dash-content-head-copy {
    flex: 1;
    min-width: 0;
  }
  .dash-content-title { font-size: 14px; }
  .dash-content-hint {
    font-size: 9px;
    white-space: nowrap;
  }
  .dash-panels {
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .dash-panel.is-active {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    flex: 1;
    overflow: hidden;
  }
  .dash-panel[data-dash-panel="clientes"],
  .dash-panel[data-dash-panel="agentes-ops"],
  .dash-panel[data-dash-panel="marca"],
  .dash-panel[data-dash-panel="integraciones"],
  .dash-panel[data-dash-panel="resultados"],
  .dash-panel[data-dash-panel="calendario"] {
    padding: 10px 12px 12px;
    box-sizing: border-box;
  }
  .dash-panel.is-active > .dash-panel-body {
    flex: 1;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
  /* Tablas → tarjetas (sin ancho forzado) */
  .dash-panel-body .dash-table-wrap {
    flex: none;
    max-height: none;
    overflow: visible;
    border: none;
    background: transparent;
    width: 100%;
  }
  .dash-panel-body .dash-table-wrap .dash-table {
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .dash-panel-body .dash-table::after {
    display: none;
  }
  .dash-table .row.head {
    display: none;
  }
  .dash-table-wrap .dash-table--clients .row:not(.head),
  .dash-table-wrap .dash-table--agents .row:not(.head) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    border-bottom: none;
    box-sizing: border-box;
  }
  .dash-table .row > .dash-cell-name {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .dash-table .row > span {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 11px;
  }
  .dash-panel[data-dash-panel="agentes-ops"] .dash-panel-body,
  .dash-panel[data-dash-panel="agentes-ops"] .dash-panel-body .dash-table-wrap,
  .dash-panel[data-dash-panel="agentes-ops"] .dash-table-wrap .dash-table,
  .dash-panel[data-dash-panel="agentes-ops"] .dash-table {
    overflow: visible;
    overflow-x: visible;
  }
  .dash-mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
    width: 100%;
  }
  .dash-mini-stat {
    padding: 10px 8px;
    min-width: 0;
  }
  .dash-mini-stat-val { font-size: 16px; }
  .dash-mini-stat-lbl {
    font-size: 9px;
    line-height: 1.3;
    word-break: break-word;
  }
  .dash-brand-settings {
    padding: 0;
    grid-template-columns: 1fr !important;
    gap: 12px;
    width: 100%;
  }
  .dash-panel[data-dash-panel="marca"] .dash-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-panel-body.dash-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
  }
  .dash-panel-body.dash-results .dash-metrics-row {
    flex-shrink: 0;
    grid-template-columns: 1fr !important;
    gap: 10px;
    width: 100%;
  }
  .dash-metric {
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .dash-metric-value {
    font-size: clamp(20px, 6vw, 26px);
    word-break: break-word;
  }
  .dash-metric-label {
    font-size: 11px;
  }
  .dash-results-detail {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    flex: 1 !important;
    min-height: 0 !important;
    gap: 12px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dash-breakdown-card {
    flex: none;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }
  .dash-breakdown-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .dash-breakdown-sub {
    font-size: 11px;
    line-height: 1.45;
  }
  .dash-channel-row {
    grid-template-columns: 28px 1fr auto;
    gap: 4px 8px;
  }
  .dash-ops-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .dash-ops-stat {
    text-align: left;
    padding: 10px 12px;
  }
  .dash-content-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .dash-content-hint {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.3;
  }
  .dash-panel-body--calendar {
    overflow-y: auto;
  }
  .dash-panel-body--calendar .dash-cal-shell {
    padding: 0;
    width: 100%;
    min-height: 0;
  }
  .dash-panel-body--calendar .dash-cal-grid-host .dash-calendar-grid {
    gap: 4px;
    width: 100%;
  }
  .dash-panel-body--calendar .dash-cal-grid-host .cal-day:not(.cal-head) {
    min-height: 34px;
    max-height: none;
    height: auto;
    aspect-ratio: 1;
    font-size: 11px;
  }
  .dash-cal-legend {
    gap: 8px 12px;
    font-size: 10px;
  }
  .dash-res-list {
    max-height: none;
    width: 100%;
  }
  .dash-res-item {
    width: 100%;
    box-sizing: border-box;
  }
  .dash-int,
  .dash-upload-drop,
  .dash-preview-frame {
    max-width: 100%;
    box-sizing: border-box;
  }
  .dash-access {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dash-access-inner {
    padding: 18px 16px 16px;
  }
  .dash-access-intro {
    margin-bottom: 14px;
    text-align: left;
  }
  .dash-access-foot .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .dash-mini-stats {
    grid-template-columns: 1fr;
  }
  .dash-mode-btn {
    font-size: 11px;
    padding: 9px 6px;
  }
  .dash-table-wrap .dash-table--clients .row:not(.head),
  .dash-table-wrap .dash-table--agents .row:not(.head) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 859px) {
  .nav-inner { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ─── Hero — centered layout ─────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
}
.hero-copy {
  text-align: center;
  max-width: 980px;
  width: 100%;
}
.hero-title-line { display: block; }

/* Force exactly 2 lines on desktop (avoid "IA" orphan) */
@media (min-width: 860px) {
  .hero-title-line { white-space: nowrap; }
}
.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.hero-sub {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { justify-content: center; }
.hero-bullets  { justify-content: center; }

/* Hero visual — full width, dramatic shadow */
.hero-visual {
  width: 100%;
  max-width: 1000px;
}
.hero-visual::before {
  inset: -60px -80px;
}
.hero-visual .mock {
  border-radius: 10px;
  border: 1px solid #e5edf5;
  box-shadow:
    rgba(50,50,93,0.25) 0px 50px 100px -20px,
    rgba(0,0,0,0.18) 0px 30px 60px -30px,
    rgba(0,0,0,0.06) 0px 0px 0px 1px;
}

/* Mock window chrome dots */
.mock-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mock-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e5edf5;
}
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

/* Mock table 5-column (hero version) */
.hero-visual .row {
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr 0.7fr;
}
.hero-visual .mock-top {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 10px 14px;
}
.hero-visual .mock-top .status { margin-left: auto; }

/* ─── Access request modal (split fullscreen) ────────────────────────────── */
html.access-form-open,
html.access-form-open body {
  overflow: hidden;
}

@keyframes access-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.access-form-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.access-form-dialog::backdrop {
  background: #0a1220;
}
.access-form-dialog[open] .access-brand {
  animation: access-panel-in 420ms var(--easeOut) both;
}
.access-form-dialog[open] .access-main {
  animation: access-panel-in 480ms var(--easeOut) 60ms both;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(280px, 34%) 1fr;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

/* Brand panel */
.access-brand {
  position: relative;
  background:
    linear-gradient(165deg, #252863 0%, var(--navy) 42%, #12143a 100%);
  color: #fff;
  overflow: hidden;
}
.access-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(240, 196, 41, 0.22), transparent 42%),
    radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.15), transparent 45%);
  pointer-events: none;
}
.access-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.access-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(20px, 3vh, 36px) clamp(20px, 2.5vw, 32px);
  gap: clamp(12px, 2vh, 20px);
}
.access-brand-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-family: var(--fontHead);
}
.access-brand-logo-main {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.access-brand-logo-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}
.access-brand-tagline {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}
.access-brand-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.access-brand-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}
.access-brand-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(240, 196, 41, 0.2);
  color: var(--gold);
}
.access-brand-stats {
  display: flex;
  gap: var(--sp-5);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.access-brand-stat-num {
  margin: 0 0 2px;
  font-family: var(--fontHead);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.access-brand-stat-label {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Form panel */
.access-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: var(--bg);
}
.access-main-head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(20px, 3vh, 28px) clamp(28px, 4vw, 56px) clamp(16px, 2vh, 20px);
  border-bottom: 1px solid var(--line);
}
.access-main-head-copy {
  min-width: 0;
}
.access-form-eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.access-main-head h2 {
  margin: 0;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.access-form-sub {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.access-form-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--muted);
  font-family: var(--fontBody);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.access-form-close:hover {
  color: var(--text);
  border-color: var(--muted2);
  background: var(--bg2);
}
.access-form-close svg {
  display: block;
}

.access-form {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.access-form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: center;
  padding: clamp(20px, 3vh, 36px) clamp(28px, 4vw, 56px) clamp(24px, 3vh, 32px);
}
.access-form-fit {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vh, 32px);
}
.access-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.access-form-grid--comfort {
  gap: 22px 28px;
}
.access-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.access-field--full {
  grid-column: 1 / -1;
}
.access-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}
.access-label em {
  color: var(--gold-text);
  font-style: normal;
}
.access-optional {
  font-weight: 500;
  color: var(--muted2);
}
.access-field input,
.access-field select,
.access-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  border: 1px solid #d8e3ef;
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--surface);
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}
.access-field input:hover,
.access-field select:hover,
.access-field textarea:hover {
  border-color: #c5d3e3;
}
.access-field input::placeholder,
.access-field textarea::placeholder {
  color: var(--muted2);
}
.access-field input:focus,
.access-field select:focus,
.access-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--ring);
}
.access-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.access-field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.55;
}

.access-segment {
  border: none;
  padding: 0;
  margin: 0;
}
.access-segment .access-label {
  display: block;
  margin-bottom: 12px;
}
.access-segment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.access-segment-item {
  position: relative;
  display: block;
  cursor: pointer;
}
.access-segment-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.access-segment-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 180ms, background 180ms, box-shadow 180ms;
}
.access-segment-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #c5d3e3;
  background: var(--surface);
  transition: border-color 180ms, background 180ms, box-shadow 180ms;
}
.access-segment-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.access-segment-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.access-segment-text small {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}
.access-segment-item:hover .access-segment-copy {
  border-color: #c5d3e3;
  background: var(--surface);
}
.access-segment-item input:focus-visible + .access-segment-copy {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.access-segment-item input:checked + .access-segment-copy {
  border-color: var(--gold);
  background: rgba(240, 196, 41, 0.08);
  box-shadow: 0 0 0 1px rgba(240, 196, 41, 0.5);
}
.access-segment-item input:checked + .access-segment-copy .access-segment-radio {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.access-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.access-form-status {
  margin-top: 10px;
  font-size: 0.8125rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.access-form-status.is-success {
  background: rgba(21, 190, 83, 0.08);
  border-color: rgba(21, 190, 83, 0.3);
  color: var(--success-text);
}
.access-form-status.is-error {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309;
}

.access-form-foot {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 16px clamp(28px, 4vw, 56px);
  background: var(--bg2);
  border-top: 1px solid var(--line);
}
.access-form-foot-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.access-form-foot-note svg {
  flex-shrink: 0;
  color: var(--muted2);
}
.access-form-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.access-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 188px;
  padding: 12px 22px;
  font-size: 15px;
}
.access-form-submit svg {
  transition: transform 200ms var(--easeOut);
}
.access-form-submit:hover svg {
  transform: translateX(3px);
}

@media (max-height: 700px) {
  .access-form-sub,
  .access-brand-tagline,
  .access-brand-stats {
    display: none;
  }
  .access-brand-list li:nth-child(3) {
    display: none;
  }
  .access-main-head {
    padding-top: 10px;
    padding-bottom: 8px;
  }
}

@media (max-width: 900px) {
  .access-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .access-brand {
    min-height: auto;
  }
  .access-brand-inner {
    height: auto;
    min-height: 0;
    padding: 16px 20px;
    gap: 10px;
  }
  .access-brand-tagline {
    max-width: none;
    font-size: 0.8125rem;
  }
  .access-brand-stats,
  .access-brand-list li:nth-child(3) {
    display: none;
  }
}

@media (max-width: 600px) {
  .access-form-grid,
  .access-form-grid--comfort,
  .access-segment-options {
    grid-template-columns: 1fr;
  }
  .access-form-scroll {
    padding-left: 20px;
    padding-right: 20px;
  }
  .access-main-head {
    padding-left: 20px;
    padding-right: 20px;
  }
  .access-form-foot {
    padding-left: 20px;
    padding-right: 20px;
  }
  .access-form-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .access-form-close {
    padding: 10px;
  }
  .access-form-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .access-form-foot-note {
    justify-content: center;
  }
  .access-form-foot-actions {
    margin-left: 0;
    width: 100%;
  }
  .access-form-foot-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .access-form-submit {
    min-width: 0;
  }
}
