@import url("variables.css?v=20260817a");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--dc-ink);
  background: #f4f6f8;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--dc-teal-deep);
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 22px 88px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--dc-navy);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.brand img[hidden] {
  display: none !important;
}

.back {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #8a96a3;
}

.back:hover {
  color: var(--dc-navy);
}

.hero {
  text-align: center;
  margin: 0 0 28px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.6vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--dc-navy);
}

.hero p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--dc-muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
}

.tag {
  display: block;
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dc-teal);
  text-align: center;
}

.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin: 8px 0 16px;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid rgba(15, 61, 58, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(21, 41, 62, 0.08);
}

.flow__step {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.flow__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: 4px;
}

.flow__num {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(15, 61, 58, 0.18);
}

.flow__ico {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.flow__ico svg {
  width: 38px;
  height: 38px;
}

.flow__step--pedido .flow__num,
.flow__step--cobro .flow__num { background: #2a9d8f; }
.flow__step--pedido .flow__ico,
.flow__step--cobro .flow__ico {
  color: #1f7a70;
  background: #e7f6f3;
  box-shadow: 0 14px 28px rgba(42, 157, 143, 0.22);
}

.flow__step--cocina .flow__num { background: #e08a2c; }
.flow__step--cocina .flow__ico {
  color: #c46a12;
  background: #fff3e6;
  box-shadow: 0 14px 28px rgba(224, 138, 44, 0.2);
}

.flow__step--mesa .flow__num { background: #4a90c8; }
.flow__step--mesa .flow__ico {
  color: #2f6fa3;
  background: #eaf3fb;
  box-shadow: 0 14px 28px rgba(74, 144, 200, 0.2);
}

.flow__step strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dc-navy);
}

.flow__label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--dc-muted);
}

.flow__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  color: #7dbfb6;
  margin-top: -28px;
}

.flow__arrow svg {
  width: 22px;
  height: 22px;
}

.flow-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 48px;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dc-navy);
  background: #eaf7f4;
  border: 1px solid rgba(42, 157, 143, 0.22);
  border-radius: 16px;
}

.flow-note__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--dc-teal);
}

.flow-note__ico svg {
  width: 22px;
  height: 22px;
}

.flow-note em {
  font-style: normal;
  font-weight: 800;
  color: var(--dc-teal-deep);
}

.group {
  margin: 0 0 46px;
}

.group h2 {
  margin: 0 0 18px;
  font-size: clamp(1.28rem, 3vw, 1.55rem);
  font-weight: 800;
  color: var(--dc-navy);
  letter-spacing: -0.03em;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .cards--2,
  .cards--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .cards--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card,
.win,
.role {
  background: #fff;
  border: 1px solid rgba(15, 61, 58, 0.06);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(21, 41, 62, 0.07);
}

.card {
  padding: 22px 20px 18px;
  display: grid;
  gap: 14px;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card__ico {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
}

.card__ico svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dc-navy);
}

.card__who {
  margin: 3px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dc-muted);
}

.facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.facts div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: #f7fafb;
  border-radius: 14px;
}

.facts dt {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dc-teal);
}

.facts dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dc-ink);
  line-height: 1.45;
}

.card--mesas .card__ico { background: #1a5c52; }
.card--comandas .card__ico { background: #e08a2c; }
.card--cobranza .card__ico { background: #1b3a5c; }
.card--cliente .card__ico { background: #2a9d8f; }
.card--takeaway .card__ico { background: #e08a2c; }
.card--movimientos .card__ico { background: #3d6b8a; }
.card--vendidos .card__ico { background: #c49a22; }
.card--circuito .card__ico { background: #2a9d8f; }
.card--productos .card__ico { background: #3d6a4a; }
.card--variables .card__ico { background: #4a5a6a; }

.roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.role {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.role__ico {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--dc-wash-teal);
  color: var(--dc-teal-deep);
}

.role__ico svg {
  width: 26px;
  height: 26px;
}

.role strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dc-navy);
}

.role span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--dc-muted);
}

.wins {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.win {
  padding: 20px 18px 18px;
}

.win strong {
  display: block;
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--dc-navy);
}

.win span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dc-muted);
  line-height: 1.5;
}

.cta {
  margin-top: 8px;
  padding: 36px 24px;
  text-align: center;
  background: var(--dc-navy);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 61, 58, 0.22);
}

.cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0 auto 20px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  color: var(--dc-navy);
}

.btn:hover {
  background: #eaf7f4;
}

.foot {
  margin-top: 28px;
  text-align: center;
  color: var(--dc-muted);
  font-size: 0.8rem;
}

@media (min-width: 720px) {
  .roles,
  .wins {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 799px) {
  .flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
    padding: 28px 18px 24px;
  }

  .flow__arrow {
    display: none;
  }

  .flow__stage {
    width: 96px;
    height: 96px;
  }

  .flow__ico {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 20px 14px 72px;
  }

  .flow {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .flow-note {
    flex-direction: column;
    font-size: 0.9rem;
  }
}

.invite {
  position: relative;
  margin: 0 0 48px;
  padding: 42px 28px 36px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(224, 138, 44, 0.95), transparent 52%),
    linear-gradient(155deg, #0f3d3a 0%, #17685d 55%, #c46a12 160%);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(15, 61, 58, 0.28);
  overflow: hidden;
}

.invite__kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe3c2;
}

.invite h2 {
  margin: 0 auto 12px;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.7rem, 4.4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.invite__lead {
  margin: 0 auto 18px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 500;
}

.invite__stops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.invite__stops li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
}

.invite__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--dc-navy);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.invite__btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: invite-pulso 1.8s ease-out infinite;
}

.invite__btn:hover,
.invite__btn:focus-visible {
  background: #fff6ec;
}

.invite__btn-go {
  font-size: 1.2rem;
  line-height: 1;
}

@keyframes invite-pulso {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.recorrido[hidden] {
  display: none !important;
}

.recorrido {
  margin: -20px 0 52px;
  padding: 8px 0 8px;
}

.recorrido__head {
  text-align: center;
  margin: 0 0 18px;
}

.recorrido__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dc-navy);
}

.recorrido__head p {
  margin: 0 auto;
  max-width: 48ch;
  color: var(--dc-muted);
  font-weight: 500;
}

.callout,
.pitch {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 20px;
}

.callout {
  background: #eaf7f4;
  border: 1px solid rgba(42, 157, 143, 0.28);
}

.callout strong,
.pitch h3 {
  display: block;
  margin: 0 0 6px;
  color: var(--dc-navy);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.callout p,
.pitch p,
.pitch li {
  margin: 0;
  color: var(--dc-ink);
  font-weight: 500;
  line-height: 1.5;
}

.marca {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dc-teal-deep);
}

.pitch {
  padding: 26px 24px 22px;
  background: #fff8f1;
  border: 1px solid rgba(224, 138, 44, 0.35);
  box-shadow: 0 14px 36px rgba(196, 106, 18, 0.08);
}

.pitch__kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c46a12;
}

.pitch h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin-bottom: 10px;
}

.pitch ul {
  margin: 12px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pitch li {
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
}

.pitch__close {
  font-weight: 700 !important;
  color: var(--dc-navy) !important;
}

.pitch--cierre {
  margin-top: 8px;
}

.recorrido__acto {
  margin: 8px 0 14px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c46a12;
}

.recorrido__acto--caja {
  color: #1b3a5c;
}

.shots {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
}

.shot figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 61, 58, 0.06);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(21, 41, 62, 0.07);
  overflow: hidden;
}

.shot--ramiro figure { border-top: 4px solid #2a9d8f; }
.shot--salon figure { border-top: 4px solid #4a90c8; }
.shot--cocina figure { border-top: 4px solid #e08a2c; }
.shot--caja figure { border-top: 4px solid #1b3a5c; }

.shot__open {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #eef3f4;
  cursor: zoom-in;
}

.shot__open img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 14px 16px 16px;
}

.shot__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.shot__n {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--dc-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.shot--ramiro .shot__n { background: #1f7a70; }
.shot--cocina .shot__n { background: #c46a12; }
.shot--caja .shot__n { background: #1b3a5c; }
.shot--salon .shot__n { background: #2f6fa3; }

.shot__who {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dc-teal);
}

.shot--cocina .shot__who { color: #c46a12; }
.shot--caja .shot__who { color: #1b3a5c; }
.shot--salon .shot__who { color: #2f6fa3; }

.shot__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--dc-ink);
}

.recorrido__foot {
  margin: 8px 0 0;
  text-align: center;
}

.recorrido__close {
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--dc-navy);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.recorrido__close:hover {
  background: #17685d;
}

.shot-dialog {
  width: min(1080px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  margin: auto;
  padding: 42px 14px 16px;
  border: 0;
  border-radius: 18px;
  background: #0f3d3a;
  color: #fff;
}

.shot-dialog::backdrop {
  background: rgba(10, 24, 22, 0.78);
}

.shot-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72vh;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
}

.shot-dialog p {
  margin: 12px 4px 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.shot-dialog__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .invite__btn::after {
    animation: none;
  }
}

@media print {
  body { background: #fff; }
  .cta { break-inside: avoid; }
  .back,
  .invite__btn,
  .recorrido__close,
  .shot-dialog { display: none; }
  .recorrido[hidden] { display: block !important; }
  .card,
  .flow,
  .win,
  .role,
  .shot figure,
  .invite {
    box-shadow: none;
  }
  .shot { break-inside: avoid; }
}
