/* Landing de MiHora: misma tipografía (Instrument Sans) y acento rosa que la app. */
:root {
    --ink: #18181b;
    --muted: #63636b;
    --line: #ececf0;
    --bg: #ffffff;
    --soft: #fdf2f8;
    --pink: #db2777;
    --pink-2: #ec4899;
    --pink-dark: #9d174d;
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.section { padding: 88px 0; }
.band { background: var(--soft); }
.eyebrow { color: var(--pink); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.125rem; margin-top: 18px; }
.accent { color: var(--pink); }
.fine { color: var(--muted); font-size: .875rem; margin-top: 14px; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px -8px rgba(219, 39, 119, .7); }
.btn-primary:hover { background: #be185d; }
.btn-outline { border-color: #e4e4e7; background: #fff; }
.btn-outline:hover { border-color: var(--pink-2); }
.btn-ghost:hover { background: #f4f4f5; }
.btn-light { background: #fff; color: var(--pink-dark); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.brand-logo { height: 44px; width: auto; }
.brand-logo.small { height: 30px; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav > a:not(.btn) { padding: 8px 12px; color: var(--muted); font-weight: 500; }
.top-nav > a:not(.btn):hover { color: var(--ink); }

/* Portada */
.hero { padding: 72px 0 88px; background: radial-gradient(1000px 500px at 85% 10%, #fce7f3 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Maqueta del teléfono */
.phone {
    justify-self: center; width: 300px; padding: 12px; border-radius: 44px;
    background: var(--ink); box-shadow: 0 40px 80px -30px rgba(157, 23, 77, .45);
}
.phone-screen { background: #fff; border-radius: 34px; padding: 26px 18px 22px; position: relative; font-size: .85rem; }
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-head small { display: block; color: var(--muted); }
.mock-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mock-label { color: var(--muted); font-size: .75rem; font-weight: 600; margin: 14px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.mock-service { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.mock-service.selected { border-color: var(--pink); background: var(--soft); }
.mock-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-slots span { text-align: center; padding: 8px 0; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; }
.mock-slots .taken { color: #c4c4cc; text-decoration: line-through; background: #fafafa; }
.mock-slots .sel { background: var(--pink); border-color: var(--pink); color: #fff; }
.mock-btn { margin-top: 14px; text-align: center; background: var(--ink); color: #fff; padding: 11px; border-radius: 12px; font-weight: 600; }
.mock-toast {
    position: absolute; left: -34px; bottom: -22px; display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .25); font-weight: 500; white-space: nowrap;
}
.mock-toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }

/* Rejillas y tarjetas */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.band .wrap > h2 { padding-top: 8px; }
.pains { margin-top: 32px; }
.pain { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.pain .emoji { font-size: 1.6rem; line-height: 1; }
.pain p { color: #3f3f46; }
.band:not(.section) { padding: 64px 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #f9a8d4; box-shadow: 0 12px 30px -18px rgba(219, 39, 119, .4); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.card p { color: var(--muted); margin-top: 8px; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; }
.steps .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 6px; }

/* Planes */
.plans { align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--pink); box-shadow: 0 24px 50px -28px rgba(219, 39, 119, .55); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2.2rem; font-weight: 700; margin-top: 10px; letter-spacing: -0.02em; }
.plan-sub { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--pink); font-weight: 700; }

/* Preguntas */
details { background: #fff; border-radius: 14px; padding: 18px 22px; margin-top: 12px; }
details:first-of-type { margin-top: 36px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--pink); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin-top: 10px; }

/* Llamado final */
.cta-box {
    text-align: center; color: #fff; border-radius: 28px; padding: 64px 24px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
}
.cta-box p { opacity: .9; margin: 12px 0 28px; font-size: 1.1rem; }

/* Pie */
.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }

/* Responsivo */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .grid-3, .steps { grid-template-columns: 1fr; }
    .hide-sm { display: none; }
    .section { padding: 64px 0; }
    .mock-toast { left: -10px; }
}
@media (max-width: 420px) {
    .hide-xs { display: none; }
    .phone { width: 270px; }
    .hero-cta .btn { width: 100%; }
}
