/* Pack Barbería — landing oferta Rolifra */
:root {
  --ink: #101820;
  --ink-soft: #3a4550;
  --muted: #5a6570;
  --bg: #eef1f4;
  --bg-deep: #d8dee6;
  --surface: #f7f9fb;
  --line: #c5ced8;
  --accent: #0a6b5c;
  --accent-ink: #ffffff;
  --warn: #6b4e16;
  --warn-bg: #f3e8c8;
  --radius: 2px;
  --max: 68rem;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  font-size: 14px;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ——— Shell ——— */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-prod {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.nav-cta {
  flex-shrink: 0;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.15rem;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #08574b;
  border-color: #08574b;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.btn-on-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-on-dark:hover {
  background: #e8ecef;
  color: var(--ink);
}

.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 55%, transparent);
}

.btn-ghost-on-dark:hover {
  background: color-mix(in srgb, #fff 12%, transparent);
}

.btn-offer {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  width: 100%;
  font-size: 16px;
  padding: 0.9rem 1.2rem;
}

.btn-offer:hover {
  background: #e8f7f3;
  border-color: #e8f7f3;
  color: var(--ink);
  transform: translateY(-1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: stretch;
  background:
    radial-gradient(120% 80% at 85% 10%, #b8c8d4 0%, transparent 55%),
    linear-gradient(165deg, #1a2836 0%, #101820 48%, #0c4f44 100%);
  color: #f2f5f7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fd9cc;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  max-width: 14ch;
}

.hero-lead {
  margin: 0;
  font-size: clamp(15px, 2.2vw, 1.125rem);
  color: #c5d0d8;
  max-width: 36ch;
}

.hero-signals {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 14px;
  color: #d7e0e7;
}

.hero-signals svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #9fd9cc;
}

/* Visual composition */
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone {
  position: relative;
  background: #0a1016;
  border: 2px solid #3a4a5a;
  border-radius: 1.35rem;
  padding: 0.7rem 0.65rem 1rem;
  box-shadow: 0 24px 48px color-mix(in srgb, #000 45%, transparent);
  animation: float-soft 6s ease-in-out infinite;
}

.phone-notch {
  width: 38%;
  height: 0.45rem;
  margin: 0 auto 0.75rem;
  background: #1c2733;
  border-radius: 999px;
}

.phone-screen {
  background: linear-gradient(180deg, #f4f7fa 0%, #e4ebf2 100%);
  color: var(--ink);
  border-radius: 0.75rem;
  padding: 1rem 0.9rem 1.1rem;
  min-height: 18rem;
}

.phone-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.phone-sub {
  margin: 0 0 1rem;
  font-size: 13px;
  color: var(--muted);
}

.slot-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
}

.slot strong {
  font-weight: 600;
}

.slot .tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.phone-cta {
  margin-top: 0.85rem;
  width: 100%;
  text-align: center;
  padding: 0.55rem;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
}

.badge-float {
  position: absolute;
  right: -0.5rem;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px color-mix(in srgb, #000 18%, transparent);
  animation: rise 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge-float svg {
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .badge-float {
    right: 0;
    bottom: -0.35rem;
  }
}

/* ——— Sections ——— */
section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* Feature rows with icons — not flat cards-as-decoration */
.feature-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .feature-list.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature-list.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--accent);
  border-radius: var(--radius);
}

.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 650;
  background: var(--bg-deep);
}

.compare th:nth-child(3),
.compare td:nth-child(3) {
  color: var(--accent);
  font-weight: 600;
}

.compare caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.85rem;
  font-size: 13px;
  color: var(--muted);
}

/* Price */
.price-block {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .price-block {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
}

.price-main {
  padding: 1.5rem 1.35rem;
  background: var(--ink);
  color: #f2f5f7;
  border-radius: var(--radius);
}

.price-offer {
  position: relative;
  border: 3px solid var(--accent);
  background:
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
    linear-gradient(160deg, #0c4f44 0%, #101820 55%, #0a1520 100%);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 28%, transparent);
  overflow: hidden;
}

.offer-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.offer-ribbon-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #062e28;
  background: #9fd9cc;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  animation: offer-pulse 2.4s ease-in-out infinite;
}

.offer-ribbon-pct {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: 2px solid #9fd9cc;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
}

.price-main .label {
  margin: 0;
  font-size: 14px;
  color: #9fd9cc;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-main .amount-was {
  margin: 0.65rem 0 0.15rem;
  font-size: 1.25rem;
  color: #9aa7b2;
}

.price-main .amount-was s {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #e8a0a0;
}

.price-main .amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.35rem;
  line-height: 1;
}

.price-main .amount-now {
  font-size: clamp(3rem, 8vw, 4.25rem);
  color: #fff;
  text-shadow: 0 2px 0 color-mix(in srgb, #000 25%, transparent);
}

.price-main .amount span {
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.85;
}

.price-main .offer-save {
  margin: 0 0 0.75rem;
  font-size: 15px;
  font-weight: 650;
  color: #9fd9cc;
}

.price-main .note {
  margin: 0 0 1.15rem;
  font-size: 14px;
  color: #c5d0d8;
}

@keyframes offer-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-ribbon-label {
    animation: none;
  }
}

.price-extras {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.price-extras li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
}

.price-extras svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
}

.draft-banner {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent);
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.draft-banner svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.out-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.out-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 14px;
  color: var(--ink-soft);
}

.out-list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--muted);
}

/* Verticals — negocio types */
.verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  padding: 0;
  list-style: none;
}

.verticals li {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  line-height: 1.3;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.verticals li:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
}

/* Demo download */
.btn-demo[data-ready="false"] {
  opacity: 0.72;
  cursor: not-allowed;
}

.btn-demo[data-ready="true"] {
  opacity: 1;
  cursor: pointer;
}

/* Showcase screenshots */
.showcase .section-head {
  max-width: 36rem;
}

.phone-real {
  padding: 0.55rem 0.55rem 0.65rem;
}

.phone-shot {
  width: 100%;
  display: block;
  border-radius: 0.85rem;
  background: #e8eef3;
}

.shot-rail-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  justify-items: center;
  margin: 0 0 1.75rem;
}

@media (min-width: 640px) {
  .shot-rail-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .shot-rail-4 {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
  }

  .shot-rail-4 .shot-card-mid {
    transform: translateY(-0.5rem);
  }

  .shot-rail-4 .shot-card {
    width: min(100%, 13rem);
  }
}

.shot-card {
  margin: 0;
  width: min(100%, 14.5rem);
  text-align: center;
}

.shot-card figcaption {
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.shot-phone {
  background: #0a1016;
  border: 2px solid #3a4a5a;
  border-radius: 1.25rem;
  padding: 0.55rem;
  box-shadow: 0 18px 36px color-mix(in srgb, #000 22%, transparent);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.shot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.85rem;
  background: #e8eef3;
}

.shot-fallback {
  height: 100%;
  min-height: 16rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #f4f7fa 0%, #e4ebf2 100%);
  color: var(--ink);
  padding: 1.1rem 0.9rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shot-fallback-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}

.shot-fallback-sub {
  margin: 0 0 0.65rem;
  font-size: 13px;
  color: var(--muted);
}

.shot-fallback ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.shot-fallback li {
  font-size: 13px;
  padding: 0.5rem 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.shot-card.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.shot-card.reveal:nth-child(3) {
  transition-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .verticals li:hover {
    transform: none;
  }
}

/* Closing */
.close {
  background: linear-gradient(160deg, #101820 0%, #0a3d36 100%);
  color: #f2f5f7;
  border-block: 1px solid #1e2c38;
}

.close .section-head p {
  color: #c5d0d8;
}

.close h2 {
  color: #fff;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer a {
  color: var(--ink-soft);
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-copy {
  animation: rise 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-visual,
  .badge-float,
  .phone {
    animation: none;
  }
}

/* ——— Demo download page ——— */
.demo-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
  background: linear-gradient(180deg, #f2f5f7 0%, #e8eef2 100%);
  color: #101820;
}

.demo-wrap {
  max-width: 40rem;
}

.demo-kicker {
  margin: 0 0 0.5rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0c4f44;
}

.demo-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.demo-lead {
  font-size: 16px;
  line-height: 1.55;
  color: #3a4652;
  margin: 0 0 1.25rem;
}

.demo-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.demo-steps,
.demo-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.55;
  color: #3a4652;
}

.demo-steps li,
.demo-list li {
  margin-bottom: 0.45rem;
}

.demo-table-wrap {
  overflow-x: auto;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.demo-table th,
.demo-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #d5dde4;
}

.demo-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5b6670;
}

.demo-table code {
  font-size: 14px;
}

.demo-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #c9a227;
  background: #fff8e6;
  font-size: 14px;
  line-height: 1.45;
}

.demo-disclaimer {
  margin: 1.75rem 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5b6670;
}

.demo-page a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
