/* Landing de Mia — requiere mia.css */

.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.stack-22 { display: flex; flex-direction: column; gap: 22px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.self-start { align-self: flex-start; }
.measure { max-width: 480px; }
.lead-sm { margin: 0; font-size: 18px; line-height: 1.55; color: var(--texto-2); }

.section { padding-top: 104px; padding-bottom: 104px; }
.section-bottom { padding-bottom: 104px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head.wide { max-width: 680px; }
.two-col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px; align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 247, 236, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header-row { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.site-header .logo img { height: 31px; }
.site-nav { display: flex; gap: 28px; flex: 1; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.nav-only-mobile { display: none; }
.site-header-actions { display: flex; gap: 18px; align-items: center; }
.nav-enter { font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-cta { font-size: 15px; font-weight: 600; padding: 11px 20px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; margin-right: -8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ciruela); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-header-row { gap: 12px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--crema);
    border-bottom: 1px solid var(--borde); padding: 8px 24px 20px; font-size: 18px;
    box-shadow: 0 20px 30px -24px rgba(59, 21, 64, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--borde-suave); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-only-mobile { display: block; font-weight: 700; }
  .site-header-actions { margin-left: auto; gap: 8px; }
  .nav-enter { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .nav-cta { padding: 10px 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px; padding-bottom: 104px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-live { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.dot-online { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-online); flex: none; }
.hero-title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance;
}
.marker { background: linear-gradient(transparent 62%, var(--amarillo) 62%, var(--amarillo) 92%, transparent 92%); }
.hero-lead { margin: 0; font-size: 21px; line-height: 1.5; color: var(--texto-2); max-width: 500px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-hero { font-size: 18px; padding: 18px 28px; }
.btn-md { font-size: 17px; padding: 14px 22px; }
.btn-arrow {
  width: 26px; height: 26px; border-radius: 50%; background: var(--rosa); color: var(--ciruela);
  display: grid; place-items: center; font-size: 15px;
}
.link-soft { font-weight: 600; font-size: 17px; padding: 18px 14px; text-decoration: none; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--texto-2); font-weight: 500; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 40px 0; min-height: 600px; }
.hero-circle, .hero-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; aspect-ratio: 1;
}
.hero-circle { width: min(100%, 500px); background: var(--rosa); }
.hero-ring { width: min(76%, 380px); border: 1.5px solid rgba(59, 21, 64, .25); }

.phone {
  position: relative; width: 300px; background: var(--ciruela); border-radius: 44px; padding: 9px;
  box-shadow: 0 40px 80px -30px rgba(59, 21, 64, .55);
}
.phone-screen { background: #F4ECDF; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; height: 540px; }
.phone-head { background: var(--crema); padding: 18px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #E8DDCB; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--rosa); flex: none;
  display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--ciruela);
}
.avatar-sm { width: 32px; height: 32px; font-size: 16px; }
.phone-who { display: flex; flex-direction: column; line-height: 1.2; }
.phone-name { font-weight: 700; font-size: 15px; }
.phone-status { font-size: 12px; color: var(--verde-online); font-weight: 600; }
.phone-chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.bubble { max-width: 82%; padding: 9px 12px; font-size: 14px; line-height: 1.4; color: var(--ciruela); animation: miaIn .35s ease both; }
.bubble.me { align-self: flex-end; background: #D6EBC8; border-radius: 16px 16px 4px 16px; }
.bubble.mia { align-self: flex-start; max-width: 86%; background: #fff; border-radius: 16px 16px 16px 4px; }
.typing { align-self: flex-start; background: #fff; padding: 12px 14px; border-radius: 16px 16px 16px 4px; display: flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ciruela); animation: miaDot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.phone-input { padding: 10px 12px 16px; display: flex; gap: 8px; align-items: center; }
.phone-field { flex: 1; background: #fff; border-radius: 999px; padding: 10px 14px; font-size: 13px; color: #8A7A8C; }
.phone-send { width: 36px; height: 36px; border-radius: 50%; background: var(--ciruela); }

.float-card { position: absolute; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; box-shadow: var(--sombra); }
.float-budget { left: 0; top: 96px; background: #fff; width: 200px; gap: 8px; }
.float-reminder { right: 0; bottom: 84px; background: var(--ciruela); color: var(--crema); width: 210px; gap: 4px; box-shadow: 0 20px 40px -20px rgba(59, 21, 64, .5); }
.float-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; }
.float-sub { font-size: 12px; color: var(--texto-2); }
.float-kicker { font-size: 12px; font-weight: 600; color: var(--amarillo); }
.float-text { font-size: 14px; font-weight: 600; line-height: 1.35; }

.bar { height: 10px; background: #EDE3D2; border-radius: 99px; overflow: hidden; }
.bar > div { height: 100%; background: var(--ciruela); border-radius: 99px; }
.bar-sm { height: 8px; background: #F1E8DA; }
.bar-pink > div { background: var(--rosa); }

@media (max-width: 560px) {
  .hero { padding-top: 32px; padding-bottom: 72px; gap: 32px; }
  .hero-visual { min-height: 0; padding: 24px 0 8px; }
  .phone { width: 272px; }
  .phone-screen { height: 480px; }
  .float-budget { display: none; }
  .float-reminder { right: -4px; bottom: -4px; width: 172px; padding: 12px 14px; }
  .hero-lead { font-size: 19px; }
  .btn-hero { font-size: 17px; padding: 16px 24px; }
}

@keyframes miaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes miaDot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* ---------- Cómo funciona ---------- */
.dark-band { background: var(--ciruela); color: var(--crema); }
.dark-band .section { display: flex; flex-direction: column; gap: 56px; }
.eyebrow.on-dark { color: var(--amarillo); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.step { background: var(--ciruela-card); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--amarillo); color: var(--ciruela);
  display: grid; place-items: center; font-family: var(--serif); font-size: 24px;
}
.step h3 { margin: 0; font-size: 24px; font-weight: 700; }
.step p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--texto-2-oscuro); }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.step-chips span { border: 1px solid #7E5284; border-radius: 999px; padding: 6px 12px; font-size: 14px; }

/* ---------- Pruébalo ---------- */
.examples { display: flex; flex-direction: column; gap: 10px; }
.example {
  text-align: left; cursor: pointer; font-size: 17px; font-weight: 600; padding: 16px 20px;
  border-radius: 18px 18px 18px 6px; border: 1.5px solid #E3DACB; background: transparent; color: var(--ciruela);
  transition: border-color .15s ease, background-color .15s ease;
}
.example:hover { border-color: var(--ciruela); }
.example.is-active { background: #fff; border-color: var(--ciruela); }
.understands { background: var(--lila); border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 24px; min-height: 360px; }
.understands-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.understands-rows { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; }
.understands-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #EFE7DA; }
.understands-row:last-child { border-bottom: 0; }
.understands-row span { color: var(--texto-2); font-size: 16px; }
.understands-row strong { font-size: 18px; text-align: right; }
.understands-note { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Qué puede hacer ---------- */
.lila-band { background: var(--lila); }
.lila-band .section { display: flex; flex-direction: column; gap: 48px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.feature { background: var(--crema); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature-n { font-family: var(--serif); font-size: 15px; color: var(--rosa-texto); }
.feature h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.feature p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--texto-2); }

/* ---------- Dashboard preview ---------- */
.dash-preview { background: var(--ciruela); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 22px; color: var(--crema); }
.dash-preview-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--texto-2-oscuro); }
.pill-dark { font-size: 13px; background: var(--ciruela-card); padding: 5px 10px; border-radius: 999px; color: var(--crema); }
.dash-preview-big { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -.02em; }
.dash-preview-card { display: flex; flex-direction: column; gap: 16px; background: var(--crema); color: var(--ciruela); border-radius: 22px; padding: 22px; }
.dash-preview-item { display: flex; flex-direction: column; gap: 8px; }
.dash-preview-item .float-row { font-size: 15px; font-weight: 600; }

/* ---------- Seguridad ---------- */
.security { background: var(--amarillo-claro); border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 40px; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.security-grid > div { display: flex; flex-direction: column; gap: 10px; }
.security-grid h3 { margin: 0; font-size: 21px; font-weight: 700; }
.security-grid p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texto-2); }
.security-foot { margin: 0; font-size: 15px; line-height: 1.55; color: var(--texto-2); max-width: 760px; border-top: 1px solid #F2DC85; padding-top: 24px; }
.security-foot a { font-weight: 600; }

/* ---------- Planes ---------- */
.cream-band { background: var(--crema-2); }
.cream-band .section { display: flex; flex-direction: column; gap: 44px; }
.plans-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.period-toggle { display: flex; background: #fff; border-radius: 999px; padding: 4px; font-size: 14px; font-weight: 600; }
.period-toggle button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--ciruela); font-weight: 600; }
.period-toggle button.is-active { background: var(--ciruela); color: var(--crema); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.plan { background: var(--crema); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.plan-featured { background: var(--ciruela); color: var(--crema); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-weight: 700; font-size: 20px; }
.plan-badge { background: var(--amarillo); color: var(--ciruela); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.plan-price-row { display: flex; align-items: baseline; gap: 8px; }
.plan-price { font-family: var(--serif); font-size: 56px; line-height: 1; }
.plan-per { font-size: 14px; color: var(--texto-2); }
.plan-featured .plan-per { color: var(--texto-2-oscuro); }
.plan-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; border-top: 1px solid var(--borde); padding-top: 20px; }
.plan-featured .plan-list { border-top-color: var(--ciruela-borde); }
.plan-cta { margin-top: auto; padding: 14px; }
.plans-foot { margin: 0; font-size: 15px; color: var(--texto-2); }
.plan-note { font-size: 13px; color: var(--texto-2); text-align: center; margin-top: -12px; }
.plan-featured .plan-note { color: var(--texto-2-oscuro); }
.pay-how { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.pay-how-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px); color: var(--ciruela); letter-spacing: -.02em; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.pay-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pay-steps strong { display: block; font-size: 17px; color: var(--ciruela); margin-bottom: 6px; }
.pay-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--texto-2); }
.pay-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--rosa); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.faqs { display: flex; flex-direction: column; gap: 10px; }
.faq { border-radius: 22px; transition: background-color .15s ease; }
.faq.is-open { background: var(--crema-2); }
.faq h3 { margin: 0; }
.faq button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 22px 24px; cursor: pointer;
  font-size: 19px; font-weight: 700; color: var(--ciruela); text-align: left; border-radius: 22px;
}
.faq-sign {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ciruela); position: relative;
}
.faq-sign::before, .faq-sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--crema);
  border-radius: 2px; transform: translate(-50%, -50%);
}
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq.is-open .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a p { margin: 0; padding: 0 24px 24px; font-size: 17px; line-height: 1.55; color: var(--texto-2); }

/* ---------- Llamado final ---------- */
.final-wrap { padding-bottom: 64px; }
.final {
  position: relative; overflow: hidden; background: var(--rosa); border-radius: 40px;
  padding: clamp(40px, 7vw, 96px) clamp(28px, 6vw, 80px);
  display: flex; flex-direction: column; gap: 28px; align-items: flex-start;
}
.final-sun { position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: var(--amarillo); }
.final-title {
  position: relative; margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: -.03em; max-width: 760px;
}
.final-lead { position: relative; margin: 0; font-size: 20px; line-height: 1.5; max-width: 520px; }
.final-ctas { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.final-ctas .btn-hero { padding: 18px 30px; }
.final-phone { font-weight: 700; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 24px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 16px 32px;
  justify-content: space-between; align-items: center; font-size: 14px; color: var(--texto-2);
}
.site-footer img { height: 24px; width: auto; }
.footer-links { display: flex; gap: 24px; }

@media (max-width: 560px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-bottom { padding-bottom: 72px; }
  .two-col { gap: 40px; }
  .understands { padding: 24px; min-height: 0; }
  .dash-preview { padding: 24px; }
  .dash-preview-big { font-size: 48px; }
  .step, .plan { padding: 26px; }
  .final-sun { width: 300px; height: 300px; right: -120px; bottom: -140px; }
}
