:root {
  --cream: #F7F4EC;
  --cream-deep: #F0EBDD;
  --card: #FFFFFF;
  --ink: #1C1E33;
  --ink-soft: #66697F;
  --indigo: #4F4FE0;
  --indigo-deep: #3A3AC0;
  --indigo-soft: #E3E3FB;
  --green: #1FA971;
  --green-soft: #DCF5E9;
  --yellow: #B8860B;
  --yellow-soft: #FBF0D2;
  --red: #C4463F;
  --red-soft: #FBE4E2;
  --navy-card: #191B33;
  --line: #E7E2D3;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

button, .btn, .add-row-file, .tag-pill {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; margin: 0 0 16px; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 3.2vw, 34px); }
a { color: inherit; }
p { margin: 0 0 16px; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

.tag-pill {
  display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; margin-bottom: 14px; color: var(--indigo); background: var(--indigo-soft);
}
.tag-pill.green { color: var(--green); background: var(--green-soft); }
.tag-pill.yellow { color: var(--yellow); background: var(--yellow-soft); }
.tag-pill.red { color: var(--red); background: var(--red-soft); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

section { padding: 64px 0; }
.section-head { max-width: 56ch; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.02rem; }

/* --- botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 15px 28px;
  font-size: 0.96rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px rgba(79, 79, 224, 0.32); }
.btn-indigo:hover { background: var(--indigo-deep); transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #178c5c; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* --- header / nav flotante --- */
header.yuda-header { padding: 20px 20px 0; background: transparent; }
.nav {
  max-width: 1160px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px -22px rgba(28, 30, 51, 0.25);
}
.nav-links { display: flex; gap: 24px; font-size: 0.92rem; color: var(--ink-soft); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.brand-logo { height: 34px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* --- hero --- */
.hero { padding: 48px 0 10px; text-align: center; }
.hero h1 { max-width: 20ch; margin: 0 auto; }
.heart-inline { height: 0.85em; display: inline-block; vertical-align: -0.08em; margin: 0 2px; }
.hero p.lead { margin: 20px auto 0; font-size: 1.06rem; color: var(--ink-soft); max-width: 46ch; }
.hero-cta { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* --- collage --- */
.collage { position: relative; margin-top: 48px; padding: 30px 0 60px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(900px, 92vw); height: 480px; z-index: 0; }
.collage-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; max-width: 980px; margin: 0 auto; width: 100%; }
.photo-card { border-radius: 20px; overflow: hidden; border: 5px solid var(--cream); box-shadow: 0 20px 40px -22px rgba(28, 30, 51, 0.4); width: 240px; flex: none; }
.photo-card.left { transform: rotate(-7deg); margin-right: -28px; z-index: 1; }
.photo-card.right { transform: rotate(6deg); margin-left: -28px; z-index: 1; }
.photo-card img { display: block; width: 100%; height: auto; }

.device { position: relative; z-index: 2; width: 320px; background: #fff; border-radius: 22px; border: 8px solid var(--ink); box-shadow: 0 30px 60px -25px rgba(28, 30, 51, 0.5); overflow: hidden; }
.device-bar { background: var(--ink); padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; }
.device-dots { display: flex; gap: 5px; }
.device-dots span { width: 7px; height: 7px; border-radius: 50%; background: #4C4F70; }
.device-loc { font-size: 0.62rem; color: #B8BAD6; }
.device-body { padding: 18px 18px 20px; }
.ac-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ac-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; }
.ac-date { font-size: 0.68rem; color: var(--ink-soft); }
.stepper { display: flex; align-items: center; margin-bottom: 14px; }
.step-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.64rem; font-weight: 700; flex: none; }
.step-dot.done { background: var(--green); color: #fff; }
.step-dot.active { background: var(--indigo); color: #fff; }
.step-dot.todo { background: #EEF0F5; color: var(--ink-soft); }
.step-seg { flex: 1; height: 2px; background: var(--line); margin: 0 4px; }
.step-seg.done { background: var(--green); }
.ac-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.74rem; }
.ac-row:last-of-type { border-bottom: none; }
.pill-tag { font-size: 0.6rem; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
.pill-tag.done { background: var(--green-soft); color: var(--green); }
.pill-tag.wait { background: var(--indigo-soft); color: var(--indigo); }
.ac-actions { display: flex; gap: 8px; margin-top: 14px; }
.ac-actions .btn { flex: 1; font-size: 0.72rem; padding: 9px 6px; }

@media (max-width: 820px) {
  .collage-inner { flex-direction: column; }
  .photo-card { display: none; }
  .blob { height: 380px; }
  .device { width: min(320px, 88vw); }
}

/* --- cta band --- */
.cta-band { text-align: center; padding: 20px 0 70px; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-band p { color: var(--ink-soft); margin: 0 auto; max-width: 52ch; font-size: 1.02rem; }
.cta-band .btn { margin-top: 24px; }

/* --- video invitacion (dentro del hero, arriba del todo) --- */
.video-section { padding: 32px 0 8px; }
.video-section .wrap { max-width: 780px; }
.collage-section { padding: 0; overflow: hidden; }
.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -22px rgba(28, 30, 51, 0.4);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-wrap .play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(28, 30, 51, 0.28); cursor: pointer; border: none; padding: 0; }
.video-wrap .play-overlay .play-icon { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.video-wrap .play-overlay .play-icon::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: yuda-pulse-ring 1.8s ease-out infinite;
}
@keyframes yuda-pulse-ring { 0% { transform: scale(0.75); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.video-wrap[data-playing="true"] .play-overlay { display: none; }
.video-caption-chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(20, 20, 30, 0.65); backdrop-filter: blur(4px); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px);
}
.video-wrap[data-playing="true"] .video-caption-chip { display: none; }

/* --- facts --- */
.facts { padding: 0 0 64px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: center; }
.fact h3 { font-size: 1.9rem; color: var(--indigo); margin-bottom: 6px; }
.fact p { color: var(--ink-soft); margin: 0; font-size: 0.92rem; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: 1fr; } }

/* --- process --- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; }
.step-card .tag { display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* --- incluye --- */
.grid-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.inc-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; }
.inc-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--green-soft); color: var(--green); flex: none; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.inc-item h3 { font-size: 1rem; margin-bottom: 5px; }
.inc-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .grid-includes { grid-template-columns: 1fr; } }

/* --- feature block oscuro --- */
.feature-block { background: var(--navy-card); border-radius: 28px; padding: 48px 40px; position: relative; overflow: hidden; color: #fff; }
.feature-blob { position: absolute; top: -120px; right: -140px; width: 380px; height: 380px; opacity: 0.9; }
.feature-block .fb-inner { position: relative; z-index: 1; max-width: 640px; }
.feature-block h2 { color: #fff; }
.feature-block p.sub { color: #B7B9D6; margin-top: 12px; font-size: 1.02rem; max-width: 48ch; }
.after-timeline { position: relative; z-index: 1; margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.after-step { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; padding: 18px; }
.after-step .a-num { width: 26px; height: 26px; border-radius: 50%; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.78rem; margin-bottom: 10px; }
.after-step h3 { color: #fff; font-size: 0.92rem; margin-bottom: 6px; }
.after-step p { color: #AEB0CE; font-size: 0.83rem; margin: 0; }
@media (max-width: 900px) { .after-timeline { grid-template-columns: 1fr 1fr; } .feature-block { padding: 36px 24px; } }
@media (max-width: 560px) { .after-timeline { grid-template-columns: 1fr; } }

/* --- equipo --- */
.team { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.team-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.team-photo img { width: 100%; height: auto; display: block; }
.team-copy p { color: var(--ink-soft); margin-top: 14px; font-size: 1.02rem; max-width: 44ch; }
.mini-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 18px; max-width: 260px; }
.mini-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* --- precio --- */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px 38px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.price-card .amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--indigo); }
.price-card .amount sup { font-size: 1.05rem; }
.price-list { list-style: none; margin: 14px 0 0; padding: 0; font-size: 0.94rem; color: var(--ink-soft); }
.price-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: none; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; text-align: center; } }

/* --- bono --- */
.bono-box {
  background: var(--green-soft); border: 1px dashed var(--green); border-radius: 12px;
  padding: 14px 18px; margin: 18px 0; display: flex; gap: 12px; align-items: flex-start; text-align: left;
}
.bono-box .badge { flex: none; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }

/* --- viaje --- */
.trip { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trip-visual { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 26px; font-size: 0.9rem; color: var(--ink-soft); }
.route { display: flex; align-items: center; margin-top: 16px; }
.route .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); flex: none; }
.route .seg { flex: 1; height: 1px; background: var(--line); margin: 0 6px; }
.route-labels { display: flex; justify-content: space-between; font-size: 0.76rem; margin-top: 8px; }
@media (max-width: 900px) { .trip { grid-template-columns: 1fr; } }

/* --- builder de productos --- */
.builder { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.builder-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.progress-track { height: 7px; background: var(--indigo-soft); border-radius: 6px; overflow: hidden; flex: 1; min-width: 140px; }
.progress-fill { height: 100%; background: var(--indigo); width: 0%; transition: width 0.3s ease; }
.count-label { font-size: 0.86rem; color: var(--ink-soft); white-space: nowrap; }
.add-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.add-row input { flex: 1; min-width: 180px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 0.96rem; background: #fff; }
.add-row input:focus { outline: none; border-color: var(--indigo); }
.add-row button { background: var(--indigo); color: #fff; border: none; padding: 0 24px; border-radius: 999px; font-weight: 600; }
.add-row button:disabled { opacity: 0.4; cursor: not-allowed; }

.add-row-file {
  position: relative; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 18px; height: 50px;
  border: 1.5px dashed var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; white-space: nowrap;
}
.add-row-file.has-file { border-style: solid; border-color: var(--indigo); color: var(--indigo); }
.add-row-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

#list li { align-items: center; }
#list li img.thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; margin-right: 10px; flex: none; }
#list li .info { display: flex; align-items: center; flex: 1; min-width: 0; }
#list li .info span.nombre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#list { list-style: none; padding: 0; margin: 0; }
#list li { display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; border-bottom: 1px dashed var(--line); font-size: 0.94rem; gap: 10px; }
#list li .rm { background: none; border: none; color: #C4463F; font-size: 0.82rem; flex: none; }
.builder-empty { font-size: 0.9rem; color: var(--ink-soft); padding: 12px 4px; }
.builder-submit { margin-top: 20px; display: flex; justify-content: flex-end; }
.builder-unlock { margin-top: 14px; }

/* --- checkout modal (nombre/correo/pago) --- */
.checkout-panel { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; display: none; }
.checkout-panel.open { display: block; }
label.field { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-size: 15px; font-family: inherit; margin-top: 6px; background: #fff;
}
input:focus, select:focus { outline: none; border-color: var(--indigo); }

label.field input[type="file"] {
  display: block; width: 100%; margin-top: 8px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px;
  font-family: inherit; background: #fff; box-sizing: border-box;
}

.whatsapp-row { display: flex; gap: 8px; margin-top: 6px; }
.whatsapp-row select {
  flex: 0 0 110px; padding: 13px 8px; border-radius: 12px; border: 1.5px solid var(--line);
  font-size: 15px; font-family: inherit; background: #fff;
}
.whatsapp-row select:focus { outline: none; border-color: var(--indigo); }
.whatsapp-row input { margin-top: 0; flex: 1; }

.toggle-row { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--indigo-soft); border-radius: 10px; margin-bottom: 16px; font-size: 14px; text-align: left; }
.error-text { color: #C4463F; font-size: 13px; margin-top: -8px; margin-bottom: 12px; display: none; }

/* --- faq --- */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--ink-soft); font-family: 'Inter', sans-serif; flex: none; }
details[open] summary::after { content: '\2013'; }
details p { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 60ch; }

/* --- footer --- */
footer.yuda-footer { background: var(--ink); color: #B6B8CE; padding: 44px 0 30px; border-radius: 28px 28px 0 0; margin-top: 16px; font-size: inherit; }
footer.yuda-footer .foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
footer.yuda-footer .brand-logo { filter: brightness(0) invert(1); height: 22px; }
footer.yuda-footer p.tag { max-width: 40ch; font-size: 0.92rem; margin-top: 12px; }
footer.yuda-footer .foot-bottom { font-size: 0.82rem; margin-top: 20px; color: #787B96; }

/* --- utilidades responsive generales --- */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .builder, .price-card, .feature-block { padding: 24px 18px; }
}
