/* ── Estilos exclusivos de ejemplo.html ── */

/* ── Demo Browser ── */
.demo-section { padding: 3rem 0 2rem; }

.demo-browser {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(14,21,48,.12);
  background: var(--navy);
  margin-bottom: 1rem;
}

.demo-browser-bar {
  background: var(--navy);
  padding: .65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.demo-dots {
  display: flex;
  gap: .35rem;
  flex-shrink: 0;
}
.ddot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.ddot.red    { background: #FF5F57; }
.ddot.yellow { background: #FFBD2E; }
.ddot.green  { background: #28CA41; }

.demo-url-bar {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .3rem 1rem;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .4rem;
  max-width: 380px;
  margin: 0 auto;
}

.demo-nav-actions { margin-left: auto; }
.demo-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #28CA41;
  border: 1px solid rgba(40,202,65,.3);
  border-radius: 999px;
  padding: .2rem .6rem;
}

.demo-screen {
  background: #fff;
  overflow: hidden;
  max-height: 480px;
  overflow-y: hidden;
  position: relative;
}
.demo-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  max-height: 480px;
  transition: opacity .2s ease;
}

/* Tabs */
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.dtab {
  padding: .38rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  transition: all var(--ease);
  cursor: pointer;
}
.dtab:hover { border-color: var(--accent); color: var(--accent); }
.dtab.on    { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ── Responsive Devices ── */
.resp-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.resp-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.resp-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .5rem;
}
.resp-sub { font-size: .92rem; color: var(--muted); max-width: 520px; margin: 0 auto; }

.resp-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.resp-device { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.resp-label  { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Desktop mock */
.resp-device.desktop .resp-frame {
  border: 2px solid var(--navy);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  width: 320px;
  background: var(--navy);
}
.resp-frame-bar {
  background: var(--navy);
  padding: .35rem .75rem;
  display: flex;
  gap: .3rem;
  align-items: center;
}
.resp-frame-bar span {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255,255,255,.2);
}
.resp-frame-screen {
  overflow: hidden;
  height: 200px;
  background: #fff;
}
.resp-frame-screen img { width: 100%; object-fit: cover; object-position: top; height: 100%; }
.resp-stand {
  width: 60px; height: 20px;
  background: var(--navy);
  margin: 0 auto;
}
.resp-base {
  width: 100px; height: 6px;
  background: var(--navy);
  border-radius: 999px;
}

/* Tablet mock */
.resp-device.tablet .resp-frame {
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 6px;
  background: var(--navy);
  width: 180px;
  position: relative;
  padding-bottom: 22px;
}
.tablet-screen {
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.tablet-screen img { width: 100%; object-fit: cover; object-position: top; height: 100%; }
.resp-tablet-btn {
  width: 24px; height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 999px;
  position: absolute;
  bottom: 9px;
  left: 50%; transform: translateX(-50%);
}

/* Phone mock */
.resp-device.mobile .resp-frame {
  border: 3px solid var(--navy);
  border-radius: 28px;
  padding: 10px 7px;
  background: var(--navy);
  width: 110px;
  position: relative;
  padding-top: 18px;
  padding-bottom: 22px;
}
.resp-phone-notch {
  width: 40px; height: 6px;
  background: rgba(0,0,0,.5);
  border-radius: 999px;
  position: absolute;
  top: 8px;
  left: 50%; transform: translateX(-50%);
}
.phone-screen {
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.phone-screen img { width: 100%; object-fit: cover; object-position: top; height: 100%; }
.resp-phone-btn {
  width: 24px; height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 999px;
  position: absolute;
  bottom: 9px;
  left: 50%; transform: translateX(-50%);
}

/* ── Lo que incluye ── */
.incl-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  margin: 0 calc(-1 * var(--container-pad, 0px));
  padding-left: var(--container-pad, 0);
  padding-right: var(--container-pad, 0);
}
.incl-header {
  text-align: center;
  margin-bottom: 3rem;
}
.incl-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--navy);
}
.incl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.incl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.incl-card:hover {
  border-color: rgba(201,38,94,.3);
  box-shadow: 0 12px 40px rgba(14,21,48,.09);
  transform: translateY(-3px);
}
.incl-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(201,38,94,.08);
  border: 1px solid rgba(201,38,94,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.incl-card h3 {
  font-family: var(--font-head);
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .45rem;
}
.incl-card p { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ── Pasos ── */
.steps-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.steps-header {
  text-align: center;
  margin-bottom: 3rem;
}
.steps-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .5rem;
}
.steps-sub { font-size: .92rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step-item {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(201,38,94,.15);
  line-height: 1;
  margin-bottom: .65rem;
}
.step-item h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.step-item p { font-size: .82rem; color: var(--muted); line-height: 1.65; }

/* ── CTA ── */
.cta-ejemplo {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}
.cta-ejemplo .cta-inner {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: clamp(2rem,5vw,3rem);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-ejemplo .cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-ejemplo .cta-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem,3vw,1.7rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: .3rem;
}
.cta-ejemplo .cta-inner p  { font-size: .9rem; color: rgba(255,255,255,.55); }
.cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--ease);
}
.btn-wa:hover { opacity: .88; }

/* Responsive */
@media (max-width: 900px) {
  .incl-grid    { grid-template-columns: 1fr 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .incl-grid    { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .resp-devices { gap: 1.5rem; }
  .resp-device.desktop .resp-frame { width: 260px; }
  .cta-ejemplo .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .demo-url-bar { display: none; }
}
