:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --navy: #0f291e;
  --navy-dark: #091c14;
  --burgundy: #9c1734;
  --burgundy-soft: #fdf2f4;
  --emerald: #0d8f68;
  --emerald-hover: #087253;
  --emerald-soft: #e6f7f1;
  --ink: #0f172a;
  --ink-mid: #334155;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --gold: #fbbf24;
  --max-w: 1060px;
  --max-w-narrow: 760px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ================= 1. TOP URGENCY BAR ================= */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy);
  color: #ffffff;
  padding: 10px 16px;
}

.urgency-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: softPulse 1.8s infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.urgency-timer {
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ================= 2. HERO + REAL PHOTOGRAPHY BENTO SHOWCASE ================= */
.hero {
  padding: 42px 0 54px;
  text-align: center;
  background: #ffffff;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #e9d5da;
  background: #ffffff;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 740px;
  margin: 0 auto 16px;
  color: var(--ink);
}

.hero__title span {
  color: var(--burgundy);
}

.hero__subtitle {
  font-size: clamp(0.96rem, 1.7vw, 1.08rem);
  color: var(--ink-mid);
  max-width: 610px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Official Studio Product Mockup (Seamless on Pure White) */
.hero-mockup {
  max-width: 860px;
  margin: 0 auto 22px;
}

.hero-mockup img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0 auto 26px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-mid);
}

.hero-highlights i {
  font-style: normal;
  color: var(--emerald);
  font-weight: 800;
}

.hero-price-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hero-price-note strong {
  color: var(--ink);
  font-weight: 700;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-cta__note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(13, 143, 104, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  background: var(--emerald-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(13, 143, 104, 0.28);
}

.btn-burgundy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(156, 23, 52, 0.18);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.btn-burgundy:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #ffffff;
  color: var(--burgundy);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.btn-outline:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* ================= SECTIONS ================= */
.section {
  padding: 62px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 34px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 8px;
  color: var(--ink);
}

.section-sub {
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* ================= 3. SCROLLABLE + AUTO-GLIDING SAMPLES CAROUSEL ================= */
.marquee-shell {
  position: relative;
  width: 100%;
}

.marquee-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 6px 24px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.marquee-viewport::-webkit-scrollbar {
  display: none;
}

.marquee-viewport.dragging {
  cursor: grabbing;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}

.carousel-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.carousel-nav--prev { left: 12px; }
.carousel-nav--next { right: 12px; }

.carousel-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 8px;
}

.marquee-item {
  width: 210px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.marquee-item:hover {
  transform: translateY(-3px);
}

.marquee-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 7px;
}

/* ================= FINISHED CONES WITH CANDIES SHOWCASE ================= */
.finished-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.finished-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.finished-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.finished-card div {
  padding: 13px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ================= 4. 6 COMPACT CONTENT CARDS ================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cat-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.cat-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--burgundy);
  background: var(--burgundy-soft);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cat-box h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.cat-box p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ================= 5. 5 TANGIBLE BONUSES (3 + 2 CENTERED) ================= */
.bonus-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.bonus-card {
  flex: 1 1 285px;
  max-width: 332px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.bonus-cover {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.bonus-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bonus-stars {
  color: #f59e0b;
  font-size: 0.78rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.bonus-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.bonus-card p {
  font-size: 0.83rem;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 14px;
}

.bonus-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
}

.bonus-old {
  color: #94a3b8;
  text-decoration: line-through;
}

.bonus-free {
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ================= 6A. AUTHENTIC WHATSAPP SCREENS ================= */
.wa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wa-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d8dee6;
  background: #efeae2;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.wa-top {
  background: #008069;
  color: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-back {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}

.wa-ava-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wa-person {
  flex: 1;
  min-width: 0;
}

.wa-person strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-person span {
  display: block;
  font-size: 0.69rem;
  color: rgba(255, 255, 255, 0.84);
}

.wa-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.92;
}

.wa-chat {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.wa-bubble {
  max-width: 88%;
  padding: 7px 9px 5px;
  border-radius: 9px;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.wa-bubble--in {
  align-self: flex-start;
  background: #ffffff;
  border-top-left-radius: 2px;
  color: #111b21;
}

.wa-bubble--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 2px;
  color: #111b21;
}

.wa-bubble img {
  border-radius: 6px;
  margin-bottom: 5px;
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.wa-time {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  width: 100%;
  font-size: 0.64rem;
  color: #667781;
  margin-top: 2px;
}

/* ================= 6B. AUTHENTIC FACEBOOK COMMENTS WIDGET ================= */
.fb-box {
  max-width: 720px;
  margin: 34px auto 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.fb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e4e6eb;
  font-size: 0.82rem;
  font-weight: 600;
  color: #65676b;
}

.fb-comment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.fb-comment:last-child {
  margin-bottom: 0;
}

.fb-comment--reply {
  margin-left: 46px;
  margin-top: -6px;
}

.fb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-comment--reply .fb-avatar {
  width: 30px;
  height: 30px;
}

.fb-content {
  flex: 1;
  min-width: 0;
}

.fb-bubble-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.fb-bubble {
  background: #f0f2f5;
  border-radius: 18px;
  padding: 9px 14px 10px;
  color: #050505;
  font-size: 0.86rem;
  line-height: 1.42;
}

.fb-author {
  font-weight: 700;
  font-size: 0.83rem;
  color: #050505;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.fb-badge-autor {
  background: #e4e6eb;
  color: #4b4f56;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.fb-reacts {
  position: absolute;
  right: 8px;
  bottom: -10px;
  background: #ffffff;
  border-radius: 999px;
  padding: 2px 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  color: #65676b;
  font-weight: 500;
}

.fb-meta {
  display: flex;
  gap: 12px;
  padding-left: 12px;
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #65676b;
}

.fb-meta span.time {
  font-weight: 400;
}

/* ================= 7. TWO-TIER PRICING + LUXURY GUARANTEE SEAL ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  align-items: start;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.plan-card--complete {
  border: 2px solid var(--burgundy);
  box-shadow: 0 14px 36px rgba(156, 23, 52, 0.08);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.plan-bundle-img {
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.plan-old {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.plan-price {
  font-size: 2.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}

.plan-card--complete .plan-price {
  color: var(--burgundy);
}

.plan-cycle {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 3px;
  margin-bottom: 20px;
}

.plan-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: var(--ink-mid);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-list i {
  font-style: normal;
  color: var(--emerald);
  font-weight: 800;
}

.plan-card .btn-primary {
  width: 100%;
  padding: 16px 20px;
}

.guarantee-card {
  max-width: 680px;
  margin: 34px auto 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.guarantee-emblem {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}

.guarantee-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 5px;
}

.guarantee-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ================= 8. CLEAN FAQ ================= */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-row {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-plus {
  color: var(--ink-muted);
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.faq-row.open .faq-plus {
  transform: rotate(45deg);
  color: var(--burgundy);
}

.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.87rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.faq-row.open .faq-a {
  display: block;
}

/* ================= 9. CASA NOCHEBUENA FOOTER ================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 36px 20px 84px;
  font-size: 0.8rem;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.footer-brand strong {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.floating-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 80;
  transition: transform 0.28s ease;
}

.floating-cta.visible {
  transform: translateX(-50%) translateY(0);
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(13, 143, 104, 0.35);
  white-space: nowrap;
}

/* ================= 10. MODALS ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.upgrade-dialog {
  background: #ffffff;
  border-radius: 22px;
  max-width: 450px;
  width: 100%;
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.26);
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink-muted);
  font-size: 0.95rem;
  cursor: pointer;
}

.dialog-pill {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.upgrade-dialog h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 8px;
}

.upgrade-dialog h3 .txt-burgundy { color: var(--burgundy); }
.upgrade-dialog h3 .txt-emerald { color: var(--emerald); }

.dialog-sub {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.dialog-stack {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dialog-row {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dialog-row img {
  width: 46px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.dialog-row__txt {
  flex: 1;
  min-width: 0;
}

.dialog-row__txt small {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.dialog-row__txt strong {
  display: block;
  font-size: 0.79rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-included {
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.dialog-price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dialog-price-line s {
  font-size: 0.84rem;
  color: #94a3b8;
}

.dialog-price-line strong {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--emerald);
}

.upgrade-dialog .btn-primary {
  width: 100%;
  margin-bottom: 8px;
}

.upgrade-dialog .btn-outline {
  color: var(--ink-mid);
  font-size: 0.77rem;
  padding: 12px 16px;
}

.zoom-box {
  background: #ffffff;
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  padding: 12px;
  position: relative;
}

.zoom-box img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
}

/* ================= INTERACTIVE ANIMATED 3-GIFT VISUAL POPUP ================= */
.gift-dialog {
  background: #ffffff;
  border-radius: 22px;
  max-width: 610px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 26px 20px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.34);
  transform: scale(0.88) translateY(18px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.modal-overlay.open .gift-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.gift-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.gift-confetti-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  opacity: 0;
  animation: giftConfettiPop 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes giftConfettiPop {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.45);
  }
}

.gift-shimmer-pill {
  display: inline-block;
  background: linear-gradient(90deg, #9c1734, #be123c, #9c1734);
  background-size: 200% 100%;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  animation: pillShimmer 2.8s linear infinite;
}

@keyframes pillShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.gift-dialog h3 {
  font-size: clamp(1.18rem, 3.2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.22;
  color: var(--ink);
  margin: 10px 0 6px;
}

.gift-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.gift-photo-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.28s ease;
}

.modal-overlay.open .gift-photo-card {
  animation: cardStaggerIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-overlay.open .gift-photo-card:nth-child(1) { animation-delay: 0.08s; }
.modal-overlay.open .gift-photo-card:nth-child(2) { animation-delay: 0.17s; }
.modal-overlay.open .gift-photo-card:nth-child(3) { animation-delay: 0.26s; }

@keyframes cardStaggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gift-photo-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--emerald);
  box-shadow: 0 14px 28px rgba(13, 143, 104, 0.18);
}

.gift-photo-card.is-picked {
  border-color: var(--emerald);
  transform: scale(1.04) !important;
  box-shadow: 0 16px 34px rgba(13, 143, 104, 0.28);
  z-index: 2;
}

.gift-photo-card.is-dimmed {
  opacity: 0.34 !important;
  transform: scale(0.95) !important;
  pointer-events: none;
}

.gift-photo-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.gift-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gift-photo-card:hover .gift-photo-thumb img {
  transform: scale(1.07);
}

.gift-free-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  background: var(--emerald);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.gift-picked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 143, 104, 0.84);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gift-photo-card.is-picked .gift-picked-overlay {
  opacity: 1;
}

.gift-photo-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-photo-body strong {
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 3px;
}

.gift-photo-body p {
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.35;
  flex: 1;
  margin-bottom: 8px;
}

.gift-choose-cta {
  display: inline-block;
  text-align: center;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.gift-photo-card:hover .gift-choose-cta {
  background: var(--emerald);
  color: #ffffff;
}

.gift-step-result {
  animation: resultRevealIn 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes resultRevealIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gift-win-pill {
  display: inline-block;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.gift-result-card {
  background: #f8fafc;
  border: 2px solid var(--emerald);
  border-radius: 16px;
  padding: 14px 16px 16px;
  margin-bottom: 14px;
}

.gift-result-photo {
  max-width: 260px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.gift-result-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gift-result-card h4 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 5px;
}

.gift-result-card p {
  font-size: 0.84rem;
  color: var(--ink-mid);
  line-height: 1.45;
  margin-bottom: 11px;
}

.gift-result-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.gift-result-val strong {
  background: var(--emerald);
  color: #ffffff;
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 999px;
}

.gift-result-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.gift-claim-pulse {
  animation: ctaSoftPulse 2s ease-in-out infinite;
}

@keyframes ctaSoftPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(13, 143, 104, 0.25); transform: scale(1); }
  50% { box-shadow: 0 12px 30px rgba(13, 143, 104, 0.45); transform: scale(1.015); }
}

.gift-unlocked-banner {
  display: none;
  background: #e6f7f1;
  border: 1.5px dashed #0d8f68;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
  font-size: 0.79rem;
  font-weight: 700;
  color: #087253;
  text-align: left;
  line-height: 1.38;
  align-items: center;
  gap: 10px;
}

.gift-unlocked-banner.show {
  display: flex;
}

.gift-unlocked-banner img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .gift-dialog {
    padding: 22px 14px 20px;
  }

  .gift-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gift-photo-card {
    flex-direction: row;
    align-items: stretch;
  }

  .gift-photo-thumb {
    width: 118px;
    flex-shrink: 0;
    aspect-ratio: auto;
  }

  .gift-photo-body {
    padding: 9px 10px;
    justify-content: center;
  }

  .gift-choose-cta {
    align-self: flex-start;
    padding: 5px 10px;
  }
}

@media (max-width: 820px) {
  .hero-mockup {
    margin: 0 -10px 18px;
  }

  .finished-grid,
  .cat-grid,
  .wa-grid {
    grid-template-columns: 1fr;
  }

  .bonus-card {
    max-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .plan-card--complete {
    order: -1;
  }

  .guarantee-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }

  .fb-comment--reply {
    margin-left: 28px;
  }

  .hero {
    padding: 28px 0 42px;
  }

  .marquee-item {
    width: 175px;
  }
}
